Uses of Enum
com.ibm.icu.util.LocaleMatcher.FavorSubtag
Packages that use LocaleMatcher.FavorSubtag
-
Uses of LocaleMatcher.FavorSubtag in com.ibm.icu.impl.locale
Methods in com.ibm.icu.impl.locale with parameters of type LocaleMatcher.FavorSubtagModifier and TypeMethodDescriptionint
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.FavorSubtagModifier and TypeFieldDescriptionprivate LocaleMatcher.FavorSubtag
LocaleMatcher.Builder.favor
private final LocaleMatcher.FavorSubtag
LocaleMatcher.favorSubtag
Methods in com.ibm.icu.util that return LocaleMatcher.FavorSubtagModifier and TypeMethodDescriptionstatic LocaleMatcher.FavorSubtag
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.FavorSubtagModifier and TypeMethodDescriptionLocaleMatcher.Builder.setFavorSubtag
(LocaleMatcher.FavorSubtag subtag) If SCRIPT, then the language differences are smaller than script differences.