1 /* 2 * Copyright (C) 2014 The Android Open Source Project 3 * Copyright (c) 1996, 2014, Oracle and/or its affiliates. All rights reserved. 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 * 6 * This code is free software; you can redistribute it and/or modify it 7 * under the terms of the GNU General Public License version 2 only, as 8 * published by the Free Software Foundation. Oracle designates this 9 * particular file as subject to the "Classpath" exception as provided 10 * by Oracle in the LICENSE file that accompanied this code. 11 * 12 * This code is distributed in the hope that it will be useful, but WITHOUT 13 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 15 * version 2 for more details (a copy is included in the LICENSE file that 16 * accompanied this code). 17 * 18 * You should have received a copy of the GNU General Public License version 19 * 2 along with this work; if not, write to the Free Software Foundation, 20 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 21 * 22 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 23 * or visit www.oracle.com if you need additional information or have any 24 * questions. 25 */ 26 27 /* 28 * (C) Copyright Taligent, Inc. 1996, 1997 - All Rights Reserved 29 * (C) Copyright IBM Corp. 1996 - 1998 - All Rights Reserved 30 * 31 * The original version of this source code and documentation 32 * is copyrighted and owned by Taligent, Inc., a wholly-owned 33 * subsidiary of IBM. These materials are provided under terms 34 * of a License Agreement between Taligent and Sun. This technology 35 * is protected by multiple US and International patents. 36 * 37 * This notice and attribution to Taligent may not be removed. 38 * Taligent is a registered trademark of Taligent, Inc. 39 * 40 */ 41 42 package java.util; 43 44 import dalvik.annotation.compat.UnsupportedAppUsage; 45 46 @SuppressWarnings({"unchecked", "deprecation", "all"}) 47 public final class Locale implements java.lang.Cloneable, java.io.Serializable { 48 Locale( sun.util.locale.BaseLocale baseLocale, sun.util.locale.LocaleExtensions extensions)49 private Locale( 50 sun.util.locale.BaseLocale baseLocale, sun.util.locale.LocaleExtensions extensions) { 51 throw new RuntimeException("Stub!"); 52 } 53 Locale(java.lang.String language, java.lang.String country, java.lang.String variant)54 public Locale(java.lang.String language, java.lang.String country, java.lang.String variant) { 55 throw new RuntimeException("Stub!"); 56 } 57 Locale(java.lang.String language, java.lang.String country)58 public Locale(java.lang.String language, java.lang.String country) { 59 throw new RuntimeException("Stub!"); 60 } 61 Locale(java.lang.String language)62 public Locale(java.lang.String language) { 63 throw new RuntimeException("Stub!"); 64 } 65 66 @UnsupportedAppUsage createConstant( java.lang.String lang, java.lang.String country)67 private static java.util.Locale createConstant( 68 java.lang.String lang, java.lang.String country) { 69 throw new RuntimeException("Stub!"); 70 } 71 getInstance( java.lang.String language, java.lang.String country, java.lang.String variant)72 static java.util.Locale getInstance( 73 java.lang.String language, java.lang.String country, java.lang.String variant) { 74 throw new RuntimeException("Stub!"); 75 } 76 getInstance( java.lang.String language, java.lang.String script, java.lang.String country, java.lang.String variant, sun.util.locale.LocaleExtensions extensions)77 static java.util.Locale getInstance( 78 java.lang.String language, 79 java.lang.String script, 80 java.lang.String country, 81 java.lang.String variant, 82 sun.util.locale.LocaleExtensions extensions) { 83 throw new RuntimeException("Stub!"); 84 } 85 86 @UnsupportedAppUsage getInstance( sun.util.locale.BaseLocale baseloc, sun.util.locale.LocaleExtensions extensions)87 static java.util.Locale getInstance( 88 sun.util.locale.BaseLocale baseloc, sun.util.locale.LocaleExtensions extensions) { 89 throw new RuntimeException("Stub!"); 90 } 91 getDefault()92 public static java.util.Locale getDefault() { 93 throw new RuntimeException("Stub!"); 94 } 95 getDefault(java.util.Locale.Category category)96 public static java.util.Locale getDefault(java.util.Locale.Category category) { 97 throw new RuntimeException("Stub!"); 98 } 99 initDefault()100 public static java.util.Locale initDefault() { 101 throw new RuntimeException("Stub!"); 102 } 103 initDefault(java.util.Locale.Category category)104 private static java.util.Locale initDefault(java.util.Locale.Category category) { 105 throw new RuntimeException("Stub!"); 106 } 107 setDefault(java.util.Locale newLocale)108 public static synchronized void setDefault(java.util.Locale newLocale) { 109 throw new RuntimeException("Stub!"); 110 } 111 setDefault( java.util.Locale.Category category, java.util.Locale newLocale)112 public static synchronized void setDefault( 113 java.util.Locale.Category category, java.util.Locale newLocale) { 114 throw new RuntimeException("Stub!"); 115 } 116 getAvailableLocales()117 public static java.util.Locale[] getAvailableLocales() { 118 throw new RuntimeException("Stub!"); 119 } 120 getISOCountries()121 public static java.lang.String[] getISOCountries() { 122 throw new RuntimeException("Stub!"); 123 } 124 getISOLanguages()125 public static java.lang.String[] getISOLanguages() { 126 throw new RuntimeException("Stub!"); 127 } 128 getLanguage()129 public java.lang.String getLanguage() { 130 throw new RuntimeException("Stub!"); 131 } 132 getScript()133 public java.lang.String getScript() { 134 throw new RuntimeException("Stub!"); 135 } 136 getCountry()137 public java.lang.String getCountry() { 138 throw new RuntimeException("Stub!"); 139 } 140 getVariant()141 public java.lang.String getVariant() { 142 throw new RuntimeException("Stub!"); 143 } 144 hasExtensions()145 public boolean hasExtensions() { 146 throw new RuntimeException("Stub!"); 147 } 148 stripExtensions()149 public java.util.Locale stripExtensions() { 150 throw new RuntimeException("Stub!"); 151 } 152 getExtension(char key)153 public java.lang.String getExtension(char key) { 154 throw new RuntimeException("Stub!"); 155 } 156 getExtensionKeys()157 public java.util.Set<java.lang.Character> getExtensionKeys() { 158 throw new RuntimeException("Stub!"); 159 } 160 getUnicodeLocaleAttributes()161 public java.util.Set<java.lang.String> getUnicodeLocaleAttributes() { 162 throw new RuntimeException("Stub!"); 163 } 164 getUnicodeLocaleType(java.lang.String key)165 public java.lang.String getUnicodeLocaleType(java.lang.String key) { 166 throw new RuntimeException("Stub!"); 167 } 168 getUnicodeLocaleKeys()169 public java.util.Set<java.lang.String> getUnicodeLocaleKeys() { 170 throw new RuntimeException("Stub!"); 171 } 172 getBaseLocale()173 sun.util.locale.BaseLocale getBaseLocale() { 174 throw new RuntimeException("Stub!"); 175 } 176 getLocaleExtensions()177 sun.util.locale.LocaleExtensions getLocaleExtensions() { 178 throw new RuntimeException("Stub!"); 179 } 180 toString()181 public java.lang.String toString() { 182 throw new RuntimeException("Stub!"); 183 } 184 toLanguageTag()185 public java.lang.String toLanguageTag() { 186 throw new RuntimeException("Stub!"); 187 } 188 forLanguageTag(java.lang.String languageTag)189 public static java.util.Locale forLanguageTag(java.lang.String languageTag) { 190 throw new RuntimeException("Stub!"); 191 } 192 getISO3Language()193 public java.lang.String getISO3Language() throws java.util.MissingResourceException { 194 throw new RuntimeException("Stub!"); 195 } 196 getISO3Country()197 public java.lang.String getISO3Country() throws java.util.MissingResourceException { 198 throw new RuntimeException("Stub!"); 199 } 200 getDisplayLanguage()201 public java.lang.String getDisplayLanguage() { 202 throw new RuntimeException("Stub!"); 203 } 204 getDisplayLanguage(java.util.Locale locale)205 public java.lang.String getDisplayLanguage(java.util.Locale locale) { 206 throw new RuntimeException("Stub!"); 207 } 208 normalizeAndValidateLanguage( java.lang.String language, boolean strict)209 private static java.lang.String normalizeAndValidateLanguage( 210 java.lang.String language, boolean strict) { 211 throw new RuntimeException("Stub!"); 212 } 213 isAsciiAlphaNum(java.lang.String string)214 private static boolean isAsciiAlphaNum(java.lang.String string) { 215 throw new RuntimeException("Stub!"); 216 } 217 getDisplayScript()218 public java.lang.String getDisplayScript() { 219 throw new RuntimeException("Stub!"); 220 } 221 getDisplayScript(java.util.Locale inLocale)222 public java.lang.String getDisplayScript(java.util.Locale inLocale) { 223 throw new RuntimeException("Stub!"); 224 } 225 getDisplayCountry()226 public java.lang.String getDisplayCountry() { 227 throw new RuntimeException("Stub!"); 228 } 229 getDisplayCountry(java.util.Locale locale)230 public java.lang.String getDisplayCountry(java.util.Locale locale) { 231 throw new RuntimeException("Stub!"); 232 } 233 normalizeAndValidateRegion( java.lang.String region, boolean strict)234 private static java.lang.String normalizeAndValidateRegion( 235 java.lang.String region, boolean strict) { 236 throw new RuntimeException("Stub!"); 237 } 238 isValidBcp47Alpha( java.lang.String string, int lowerBound, int upperBound)239 private static boolean isValidBcp47Alpha( 240 java.lang.String string, int lowerBound, int upperBound) { 241 throw new RuntimeException("Stub!"); 242 } 243 isUnM49AreaCode(java.lang.String code)244 private static boolean isUnM49AreaCode(java.lang.String code) { 245 throw new RuntimeException("Stub!"); 246 } 247 getDisplayVariant()248 public java.lang.String getDisplayVariant() { 249 throw new RuntimeException("Stub!"); 250 } 251 getDisplayVariant(java.util.Locale inLocale)252 public java.lang.String getDisplayVariant(java.util.Locale inLocale) { 253 throw new RuntimeException("Stub!"); 254 } 255 normalizeAndValidateVariant(java.lang.String variant)256 private static java.lang.String normalizeAndValidateVariant(java.lang.String variant) { 257 throw new RuntimeException("Stub!"); 258 } 259 isValidVariantSubtag(java.lang.String subTag)260 private static boolean isValidVariantSubtag(java.lang.String subTag) { 261 throw new RuntimeException("Stub!"); 262 } 263 getDisplayName()264 public java.lang.String getDisplayName() { 265 throw new RuntimeException("Stub!"); 266 } 267 getDisplayName(java.util.Locale locale)268 public java.lang.String getDisplayName(java.util.Locale locale) { 269 throw new RuntimeException("Stub!"); 270 } 271 clone()272 public java.lang.Object clone() { 273 throw new RuntimeException("Stub!"); 274 } 275 hashCode()276 public int hashCode() { 277 throw new RuntimeException("Stub!"); 278 } 279 equals(java.lang.Object obj)280 public boolean equals(java.lang.Object obj) { 281 throw new RuntimeException("Stub!"); 282 } 283 formatList( java.lang.String[] stringList, java.lang.String listPattern, java.lang.String listCompositionPattern)284 private static java.lang.String formatList( 285 java.lang.String[] stringList, 286 java.lang.String listPattern, 287 java.lang.String listCompositionPattern) { 288 throw new RuntimeException("Stub!"); 289 } 290 composeList( java.text.MessageFormat format, java.lang.String[] list)291 private static java.lang.String[] composeList( 292 java.text.MessageFormat format, java.lang.String[] list) { 293 throw new RuntimeException("Stub!"); 294 } 295 isUnicodeExtensionKey(java.lang.String s)296 private static boolean isUnicodeExtensionKey(java.lang.String s) { 297 throw new RuntimeException("Stub!"); 298 } 299 writeObject(java.io.ObjectOutputStream out)300 private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { 301 throw new RuntimeException("Stub!"); 302 } 303 readObject(java.io.ObjectInputStream in)304 private void readObject(java.io.ObjectInputStream in) 305 throws java.lang.ClassNotFoundException, java.io.IOException { 306 throw new RuntimeException("Stub!"); 307 } 308 readResolve()309 private java.lang.Object readResolve() throws java.io.ObjectStreamException { 310 throw new RuntimeException("Stub!"); 311 } 312 convertOldISOCodes(java.lang.String language)313 private static java.lang.String convertOldISOCodes(java.lang.String language) { 314 throw new RuntimeException("Stub!"); 315 } 316 getCompatibilityExtensions( java.lang.String language, java.lang.String script, java.lang.String country, java.lang.String variant)317 private static sun.util.locale.LocaleExtensions getCompatibilityExtensions( 318 java.lang.String language, 319 java.lang.String script, 320 java.lang.String country, 321 java.lang.String variant) { 322 throw new RuntimeException("Stub!"); 323 } 324 adjustLanguageCode(java.lang.String languageCode)325 public static java.lang.String adjustLanguageCode(java.lang.String languageCode) { 326 throw new RuntimeException("Stub!"); 327 } 328 filter( java.util.List<java.util.Locale.LanguageRange> priorityList, java.util.Collection<java.util.Locale> locales, java.util.Locale.FilteringMode mode)329 public static java.util.List<java.util.Locale> filter( 330 java.util.List<java.util.Locale.LanguageRange> priorityList, 331 java.util.Collection<java.util.Locale> locales, 332 java.util.Locale.FilteringMode mode) { 333 throw new RuntimeException("Stub!"); 334 } 335 filter( java.util.List<java.util.Locale.LanguageRange> priorityList, java.util.Collection<java.util.Locale> locales)336 public static java.util.List<java.util.Locale> filter( 337 java.util.List<java.util.Locale.LanguageRange> priorityList, 338 java.util.Collection<java.util.Locale> locales) { 339 throw new RuntimeException("Stub!"); 340 } 341 filterTags( java.util.List<java.util.Locale.LanguageRange> priorityList, java.util.Collection<java.lang.String> tags, java.util.Locale.FilteringMode mode)342 public static java.util.List<java.lang.String> filterTags( 343 java.util.List<java.util.Locale.LanguageRange> priorityList, 344 java.util.Collection<java.lang.String> tags, 345 java.util.Locale.FilteringMode mode) { 346 throw new RuntimeException("Stub!"); 347 } 348 filterTags( java.util.List<java.util.Locale.LanguageRange> priorityList, java.util.Collection<java.lang.String> tags)349 public static java.util.List<java.lang.String> filterTags( 350 java.util.List<java.util.Locale.LanguageRange> priorityList, 351 java.util.Collection<java.lang.String> tags) { 352 throw new RuntimeException("Stub!"); 353 } 354 lookup( java.util.List<java.util.Locale.LanguageRange> priorityList, java.util.Collection<java.util.Locale> locales)355 public static java.util.Locale lookup( 356 java.util.List<java.util.Locale.LanguageRange> priorityList, 357 java.util.Collection<java.util.Locale> locales) { 358 throw new RuntimeException("Stub!"); 359 } 360 lookupTag( java.util.List<java.util.Locale.LanguageRange> priorityList, java.util.Collection<java.lang.String> tags)361 public static java.lang.String lookupTag( 362 java.util.List<java.util.Locale.LanguageRange> priorityList, 363 java.util.Collection<java.lang.String> tags) { 364 throw new RuntimeException("Stub!"); 365 } 366 367 public static final java.util.Locale CANADA; 368 369 static { 370 CANADA = null; 371 } 372 373 public static final java.util.Locale CANADA_FRENCH; 374 375 static { 376 CANADA_FRENCH = null; 377 } 378 379 public static final java.util.Locale CHINA; 380 381 static { 382 CHINA = null; 383 } 384 385 public static final java.util.Locale CHINESE; 386 387 static { 388 CHINESE = null; 389 } 390 391 private static final int DISPLAY_COUNTRY = 1; // 0x1 392 393 private static final int DISPLAY_LANGUAGE = 0; // 0x0 394 395 private static final int DISPLAY_SCRIPT = 3; // 0x3 396 397 private static final int DISPLAY_VARIANT = 2; // 0x2 398 399 public static final java.util.Locale ENGLISH; 400 401 static { 402 ENGLISH = null; 403 } 404 405 public static final java.util.Locale FRANCE; 406 407 static { 408 FRANCE = null; 409 } 410 411 public static final java.util.Locale FRENCH; 412 413 static { 414 FRENCH = null; 415 } 416 417 public static final java.util.Locale GERMAN; 418 419 static { 420 GERMAN = null; 421 } 422 423 public static final java.util.Locale GERMANY; 424 425 static { 426 GERMANY = null; 427 } 428 429 public static final java.util.Locale ITALIAN; 430 431 static { 432 ITALIAN = null; 433 } 434 435 public static final java.util.Locale ITALY; 436 437 static { 438 ITALY = null; 439 } 440 441 public static final java.util.Locale JAPAN; 442 443 static { 444 JAPAN = null; 445 } 446 447 public static final java.util.Locale JAPANESE; 448 449 static { 450 JAPANESE = null; 451 } 452 453 public static final java.util.Locale KOREA; 454 455 static { 456 KOREA = null; 457 } 458 459 public static final java.util.Locale KOREAN; 460 461 static { 462 KOREAN = null; 463 } 464 465 private static final java.util.Locale.Cache LOCALECACHE; 466 467 static { 468 LOCALECACHE = null; 469 } 470 471 public static final java.util.Locale PRC; 472 473 static { 474 PRC = null; 475 } 476 477 public static final char PRIVATE_USE_EXTENSION = 120; // 0x0078 'x' 478 479 public static final java.util.Locale ROOT; 480 481 static { 482 ROOT = null; 483 } 484 485 public static final java.util.Locale SIMPLIFIED_CHINESE; 486 487 static { 488 SIMPLIFIED_CHINESE = null; 489 } 490 491 public static final java.util.Locale TAIWAN; 492 493 static { 494 TAIWAN = null; 495 } 496 497 public static final java.util.Locale TRADITIONAL_CHINESE; 498 499 static { 500 TRADITIONAL_CHINESE = null; 501 } 502 503 public static final java.util.Locale UK; 504 505 static { 506 UK = null; 507 } 508 509 private static final java.lang.String UNDETERMINED_LANGUAGE = "und"; 510 511 public static final char UNICODE_LOCALE_EXTENSION = 117; // 0x0075 'u' 512 513 public static final java.util.Locale US; 514 515 static { 516 US = null; 517 } 518 519 private transient sun.util.locale.BaseLocale baseLocale; 520 521 private static volatile java.util.Locale defaultDisplayLocale; 522 523 private static volatile java.util.Locale defaultFormatLocale; 524 525 private transient volatile int hashCodeValue = 0; // 0x0 526 527 private static volatile java.lang.String[] isoCountries; 528 529 private static volatile java.lang.String[] isoLanguages; 530 531 private transient volatile java.lang.String languageTag; 532 533 private transient sun.util.locale.LocaleExtensions localeExtensions; 534 535 private static final java.io.ObjectStreamField[] serialPersistentFields; 536 537 static { 538 serialPersistentFields = new java.io.ObjectStreamField[0]; 539 } 540 541 static final long serialVersionUID = 9149081749638150636L; // 0x7ef811609c30f9ecL 542 543 @SuppressWarnings({"unchecked", "deprecation", "all"}) 544 public static final class Builder { 545 Builder()546 public Builder() { 547 throw new RuntimeException("Stub!"); 548 } 549 setLocale(java.util.Locale locale)550 public java.util.Locale.Builder setLocale(java.util.Locale locale) { 551 throw new RuntimeException("Stub!"); 552 } 553 setLanguageTag(java.lang.String languageTag)554 public java.util.Locale.Builder setLanguageTag(java.lang.String languageTag) { 555 throw new RuntimeException("Stub!"); 556 } 557 setLanguage(java.lang.String language)558 public java.util.Locale.Builder setLanguage(java.lang.String language) { 559 throw new RuntimeException("Stub!"); 560 } 561 setScript(java.lang.String script)562 public java.util.Locale.Builder setScript(java.lang.String script) { 563 throw new RuntimeException("Stub!"); 564 } 565 setRegion(java.lang.String region)566 public java.util.Locale.Builder setRegion(java.lang.String region) { 567 throw new RuntimeException("Stub!"); 568 } 569 setVariant(java.lang.String variant)570 public java.util.Locale.Builder setVariant(java.lang.String variant) { 571 throw new RuntimeException("Stub!"); 572 } 573 setExtension(char key, java.lang.String value)574 public java.util.Locale.Builder setExtension(char key, java.lang.String value) { 575 throw new RuntimeException("Stub!"); 576 } 577 setUnicodeLocaleKeyword( java.lang.String key, java.lang.String type)578 public java.util.Locale.Builder setUnicodeLocaleKeyword( 579 java.lang.String key, java.lang.String type) { 580 throw new RuntimeException("Stub!"); 581 } 582 addUnicodeLocaleAttribute(java.lang.String attribute)583 public java.util.Locale.Builder addUnicodeLocaleAttribute(java.lang.String attribute) { 584 throw new RuntimeException("Stub!"); 585 } 586 removeUnicodeLocaleAttribute(java.lang.String attribute)587 public java.util.Locale.Builder removeUnicodeLocaleAttribute(java.lang.String attribute) { 588 throw new RuntimeException("Stub!"); 589 } 590 clear()591 public java.util.Locale.Builder clear() { 592 throw new RuntimeException("Stub!"); 593 } 594 clearExtensions()595 public java.util.Locale.Builder clearExtensions() { 596 throw new RuntimeException("Stub!"); 597 } 598 build()599 public java.util.Locale build() { 600 throw new RuntimeException("Stub!"); 601 } 602 603 private final sun.util.locale.InternalLocaleBuilder localeBuilder; 604 605 { 606 localeBuilder = null; 607 } 608 } 609 610 @SuppressWarnings({"unchecked", "deprecation", "all"}) 611 private static class Cache 612 extends sun.util.locale.LocaleObjectCache< 613 java.util.Locale.LocaleKey, java.util.Locale> { 614 Cache()615 private Cache() { 616 throw new RuntimeException("Stub!"); 617 } 618 createObject(java.util.Locale.LocaleKey key)619 protected java.util.Locale createObject(java.util.Locale.LocaleKey key) { 620 throw new RuntimeException("Stub!"); 621 } 622 } 623 624 @SuppressWarnings({"unchecked", "deprecation", "all"}) 625 public static enum Category { 626 DISPLAY, 627 FORMAT; 628 Category( java.lang.String languageKey, java.lang.String scriptKey, java.lang.String countryKey, java.lang.String variantKey)629 private Category( 630 java.lang.String languageKey, 631 java.lang.String scriptKey, 632 java.lang.String countryKey, 633 java.lang.String variantKey) { 634 throw new RuntimeException("Stub!"); 635 } 636 Category()637 private Category() { 638 throw new RuntimeException("Stub!"); 639 } 640 641 final java.lang.String countryKey = null; 642 643 final java.lang.String languageKey = null; 644 645 final java.lang.String scriptKey = null; 646 647 final java.lang.String variantKey = null; 648 } 649 650 @SuppressWarnings({"unchecked", "deprecation", "all"}) 651 public static enum FilteringMode { 652 AUTOSELECT_FILTERING, 653 EXTENDED_FILTERING, 654 IGNORE_EXTENDED_RANGES, 655 MAP_EXTENDED_RANGES, 656 REJECT_EXTENDED_RANGES; 657 FilteringMode()658 private FilteringMode() { 659 throw new RuntimeException("Stub!"); 660 } 661 } 662 663 @SuppressWarnings({"unchecked", "deprecation", "all"}) 664 public static final class LanguageRange { 665 LanguageRange(java.lang.String range)666 public LanguageRange(java.lang.String range) { 667 throw new RuntimeException("Stub!"); 668 } 669 LanguageRange(java.lang.String range, double weight)670 public LanguageRange(java.lang.String range, double weight) { 671 throw new RuntimeException("Stub!"); 672 } 673 isSubtagIllFormed(java.lang.String subtag, boolean isFirstSubtag)674 private static boolean isSubtagIllFormed(java.lang.String subtag, boolean isFirstSubtag) { 675 throw new RuntimeException("Stub!"); 676 } 677 getRange()678 public java.lang.String getRange() { 679 throw new RuntimeException("Stub!"); 680 } 681 getWeight()682 public double getWeight() { 683 throw new RuntimeException("Stub!"); 684 } 685 parse( java.lang.String ranges)686 public static java.util.List<java.util.Locale.LanguageRange> parse( 687 java.lang.String ranges) { 688 throw new RuntimeException("Stub!"); 689 } 690 parse( java.lang.String ranges, java.util.Map<java.lang.String, java.util.List<java.lang.String>> map)691 public static java.util.List<java.util.Locale.LanguageRange> parse( 692 java.lang.String ranges, 693 java.util.Map<java.lang.String, java.util.List<java.lang.String>> map) { 694 throw new RuntimeException("Stub!"); 695 } 696 mapEquivalents( java.util.List<java.util.Locale.LanguageRange> priorityList, java.util.Map<java.lang.String, java.util.List<java.lang.String>> map)697 public static java.util.List<java.util.Locale.LanguageRange> mapEquivalents( 698 java.util.List<java.util.Locale.LanguageRange> priorityList, 699 java.util.Map<java.lang.String, java.util.List<java.lang.String>> map) { 700 throw new RuntimeException("Stub!"); 701 } 702 hashCode()703 public int hashCode() { 704 throw new RuntimeException("Stub!"); 705 } 706 equals(java.lang.Object obj)707 public boolean equals(java.lang.Object obj) { 708 throw new RuntimeException("Stub!"); 709 } 710 711 public static final double MAX_WEIGHT = 1.0; 712 713 public static final double MIN_WEIGHT = 0.0; 714 715 private volatile int hash = 0; // 0x0 716 717 private final java.lang.String range; 718 719 { 720 range = null; 721 } 722 723 private final double weight; 724 725 { 726 weight = 0; 727 } 728 } 729 730 @SuppressWarnings({"unchecked", "deprecation", "all"}) 731 private static final class LocaleKey { 732 LocaleKey( sun.util.locale.BaseLocale baseLocale, sun.util.locale.LocaleExtensions extensions)733 private LocaleKey( 734 sun.util.locale.BaseLocale baseLocale, 735 sun.util.locale.LocaleExtensions extensions) { 736 throw new RuntimeException("Stub!"); 737 } 738 equals(java.lang.Object obj)739 public boolean equals(java.lang.Object obj) { 740 throw new RuntimeException("Stub!"); 741 } 742 hashCode()743 public int hashCode() { 744 throw new RuntimeException("Stub!"); 745 } 746 747 private final sun.util.locale.BaseLocale base; 748 749 { 750 base = null; 751 } 752 753 private final sun.util.locale.LocaleExtensions exts; 754 755 { 756 exts = null; 757 } 758 759 private final int hash; 760 761 { 762 hash = 0; 763 } 764 } 765 766 @SuppressWarnings({"unchecked", "deprecation", "all"}) 767 private static class NoImagePreloadHolder { 768 NoImagePreloadHolder()769 private NoImagePreloadHolder() { 770 throw new RuntimeException("Stub!"); 771 } 772 773 public static volatile java.util.Locale defaultLocale; 774 } 775 } 776