| Modifier and Type | Field and Description |
|---|---|
| public static final boolean | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public final int | |
| public static final int | |
| public final String | |
| public final String | |
| public static final int | |
| pack-priv final int | regionIndex
Index for region, negative if ill-formed. |
| public final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static LSR[] | |
| private int | |
| private int | |
| private int | |
| public int | |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| public int | |
| public static final int | |
| public boolean | |
| private static String | |
| private static String | |
| private static String | |
| public String |
| DEBUG_OUTPUT | back to summary |
|---|---|
| public static final boolean DEBUG_OUTPUT | |
| DONT_CARE_FLAGS | back to summary |
|---|---|
| public static final int DONT_CARE_FLAGS | |
| EXPLICIT_LANGUAGE | back to summary |
|---|---|
| public static final int EXPLICIT_LANGUAGE | |
| EXPLICIT_LSR | back to summary |
|---|---|
| public static final int EXPLICIT_LSR | |
| EXPLICIT_REGION | back to summary |
|---|---|
| public static final int EXPLICIT_REGION | |
| EXPLICIT_SCRIPT | back to summary |
|---|---|
| public static final int EXPLICIT_SCRIPT | |
| flags | back to summary |
|---|---|
| public final int flags | |
| IMPLICIT_LSR | back to summary |
|---|---|
| public static final int IMPLICIT_LSR | |
| language | back to summary |
|---|---|
| public final String language | |
| region | back to summary |
|---|---|
| public final String region | |
| REGION_INDEX_LIMIT | back to summary |
|---|---|
| public static final int REGION_INDEX_LIMIT | |
| regionIndex | back to summary |
|---|---|
| pack-priv final int regionIndex Index for region, negative if ill-formed. @see indexForRegion | |
| script | back to summary |
|---|---|
| public final String script | |
| LSR | back to summary |
|---|---|
| public LSR(String language, String script, String region, int flags) | |
| decodeInts | back to summary |
|---|---|
| public static LSR[] decodeInts(int[] nums, String[] m49) | |
| encodeLanguageToInt | back to summary |
|---|---|
| private int encodeLanguageToInt() | |
| encodeRegionToInt | back to summary |
|---|---|
| private int encodeRegionToInt(List<String> m49) | |
| encodeScriptToInt | back to summary |
|---|---|
| private int encodeScriptToInt() | |
| encodeToIntForResource | back to summary |
|---|---|
| public int encodeToIntForResource(List<String> m49) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| indexForRegion | back to summary |
|---|---|
| public static final int indexForRegion(String region) Returns a positive index (>0) for a well-formed region code. Do not rely on a particular region->index mapping; it may change. Returns 0 for ill-formed strings. | |
| isEquivalentTo | back to summary |
|---|---|
| public boolean isEquivalentTo(LSR other) | |
| toLanguage | back to summary |
|---|---|
| private static String toLanguage(int encoded) | |
| toRegion | back to summary |
|---|---|
| private static String toRegion(int encoded, String[] m49) | |
| toScript | back to summary |
|---|---|
| private static String toScript(int encoded) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |