Class LSR.CachedDecoder
java.lang.Object
com.ibm.icu.impl.locale.LSR.CachedDecoder
- Enclosing class:
LSR
CachedDecoder uses string pools to reduce memory needed for creating
strings representing lang, region and script.
-
Field Details
-
DECODED_ZERO
-
DECODED_ONE
-
langsCache
-
scriptsCache
-
regionsCache
-
m49
-
-
Constructor Details
-
CachedDecoder
CachedDecoder(String[] m49)
-
-
Method Details
-
decode
- Returns:
- a String[3] object where the first element is a language code, the second element is a script code, and the third element is a region code.
-
toLanguage
-
toRegion
-