Uses of Class
com.ibm.icu.util.LocaleMatcher.FavorSubtag
-
Packages that use LocaleMatcher.FavorSubtag Package Description com.ibm.icu.impl.locale com.ibm.icu.util International calendars and other utility classes. -
-
Uses of LocaleMatcher.FavorSubtag in com.ibm.icu.impl.locale
Methods in com.ibm.icu.impl.locale with parameters of type LocaleMatcher.FavorSubtag Modifier and Type Method Description int
LocaleDistance. getBestIndexAndDistance(LSR desired, LSR[] supportedLSRs, int supportedLSRsLength, int shiftedThreshold, LocaleMatcher.FavorSubtag favorSubtag, LocaleMatcher.Direction direction)
Finds the supported LSR with the smallest distance from the desired one.private boolean
LocaleDistance. isMatch(LSR desired, LSR supported, int shiftedThreshold, LocaleMatcher.FavorSubtag favorSubtag)
int
LocaleDistance. testOnlyDistance(ULocale desired, ULocale supported, int threshold, LocaleMatcher.FavorSubtag favorSubtag)
-
Uses of LocaleMatcher.FavorSubtag in com.ibm.icu.util
Fields in com.ibm.icu.util declared as LocaleMatcher.FavorSubtag Modifier and Type Field Description private LocaleMatcher.FavorSubtag
LocaleMatcher.Builder. favor
private LocaleMatcher.FavorSubtag
LocaleMatcher. favorSubtag
Methods in com.ibm.icu.util that return LocaleMatcher.FavorSubtag Modifier and Type Method Description static LocaleMatcher.FavorSubtag
LocaleMatcher.FavorSubtag. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LocaleMatcher.FavorSubtag[]
LocaleMatcher.FavorSubtag. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.ibm.icu.util with parameters of type LocaleMatcher.FavorSubtag Modifier and Type Method Description LocaleMatcher.Builder
LocaleMatcher.Builder. setFavorSubtag(LocaleMatcher.FavorSubtag subtag)
If SCRIPT, then the language differences are smaller than script differences.
-