Package com.ibm.icu.util
Class LocaleMatcher.LanguageMatcherData
- java.lang.Object
-
- com.ibm.icu.util.LocaleMatcher.LanguageMatcherData
-
- All Implemented Interfaces:
Freezable<LocaleMatcher.LanguageMatcherData>,Cloneable
- Enclosing class:
- LocaleMatcher
@Deprecated public static class LocaleMatcher.LanguageMatcherData extends Object implements Freezable<LocaleMatcher.LanguageMatcherData>
Deprecated.This API is ICU internal only.Only for testing and use by tools. Interface may change!!
-
-
Constructor Summary
Constructors Constructor Description LanguageMatcherData()Deprecated.This API is ICU internal only.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description LocaleMatcher.LanguageMatcherDataaddDistance(String desired, String supported, int percent, boolean oneway)Deprecated.This API is ICU internal only.LocaleMatcher.LanguageMatcherDataaddDistance(String desired, String supported, int percent, String comment)Deprecated.This API is ICU internal only.LocaleMatcher.LanguageMatcherDatacloneAsThawed()Deprecated.This API is ICU internal only.LocaleMatcher.LanguageMatcherDatafreeze()Deprecated.This API is ICU internal only.booleanisFrozen()Deprecated.This API is ICU internal only.doublematch(ULocale a, ULocale aMax, ULocale b, ULocale bMax)Deprecated.This API is ICU internal only.Relation<String,String>matchingLanguages()Deprecated.This API is ICU internal only.StringtoString()Deprecated.This API is ICU internal only.
-
-
-
Constructor Detail
-
LanguageMatcherData
@Deprecated public LanguageMatcherData()
Deprecated.This API is ICU internal only.
-
-
Method Detail
-
matchingLanguages
@Deprecated public Relation<String,String> matchingLanguages()
Deprecated.This API is ICU internal only.
-
toString
@Deprecated public String toString()
Deprecated.This API is ICU internal only.Description copied from class:ObjectReturns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:getClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toStringmethod if you intend implementing your owntoStringmethod.
-
match
@Deprecated public double match(ULocale a, ULocale aMax, ULocale b, ULocale bMax)
Deprecated.This API is ICU internal only.
-
addDistance
@Deprecated public LocaleMatcher.LanguageMatcherData addDistance(String desired, String supported, int percent, String comment)
Deprecated.This API is ICU internal only.
-
addDistance
@Deprecated public LocaleMatcher.LanguageMatcherData addDistance(String desired, String supported, int percent, boolean oneway)
Deprecated.This API is ICU internal only.
-
cloneAsThawed
@Deprecated public LocaleMatcher.LanguageMatcherData cloneAsThawed()
Deprecated.This API is ICU internal only.Provides for the clone operation. Any clone is initially unfrozen.- Specified by:
cloneAsThawedin interfaceFreezable<LocaleMatcher.LanguageMatcherData>
-
freeze
@Deprecated public LocaleMatcher.LanguageMatcherData freeze()
Deprecated.This API is ICU internal only.Freezes the object.- Specified by:
freezein interfaceFreezable<LocaleMatcher.LanguageMatcherData>- Returns:
- the object itself.
-
isFrozen
@Deprecated public boolean isFrozen()
Deprecated.This API is ICU internal only.Determines whether the object has been frozen or not.- Specified by:
isFrozenin interfaceFreezable<LocaleMatcher.LanguageMatcherData>
-
-