com.ibm.icu.util
Class LocaleMatcher.LanguageMatcherData

java.lang.Object
  extended by com.ibm.icu.util.LocaleMatcher.LanguageMatcherData
All Implemented Interfaces:
Freezable<LocaleMatcher.LanguageMatcherData>, Cloneable
Enclosing class:
LocaleMatcher

Deprecated. This API is ICU internal only.

public static class LocaleMatcher.LanguageMatcherData
extends Object
implements Freezable<LocaleMatcher.LanguageMatcherData>

Only for testing and use by tools. Interface may change!!

Status:
Internal. This API is ICU internal only.

Constructor Summary
LocaleMatcher.LanguageMatcherData()
          Deprecated. This API is ICU internal only.
 
Method Summary
 LocaleMatcher.LanguageMatcherData addDistance(String desired, String supported, int percent, boolean oneway)
          Deprecated. This API is ICU internal only.
 LocaleMatcher.LanguageMatcherData addDistance(String desired, String supported, int percent, String comment)
          Deprecated. This API is ICU internal only.
 LocaleMatcher.LanguageMatcherData cloneAsThawed()
          Deprecated. This API is ICU internal only.
 LocaleMatcher.LanguageMatcherData freeze()
          Deprecated. This API is ICU internal only.
 boolean isFrozen()
          Deprecated. This API is ICU internal only.
 double match(ULocale a, ULocale aMax, ULocale b, ULocale bMax)
          Deprecated. This API is ICU internal only.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocaleMatcher.LanguageMatcherData

public LocaleMatcher.LanguageMatcherData()
Deprecated. This API is ICU internal only.

Status:
Internal. This API is ICU internal only.
Method Detail

match

public double match(ULocale a,
                    ULocale aMax,
                    ULocale b,
                    ULocale bMax)
Deprecated. This API is ICU internal only.

Status:
Internal. This API is ICU internal only.

addDistance

public LocaleMatcher.LanguageMatcherData addDistance(String desired,
                                                     String supported,
                                                     int percent,
                                                     String comment)
Deprecated. This API is ICU internal only.

Status:
Internal. This API is ICU internal only.

addDistance

public LocaleMatcher.LanguageMatcherData addDistance(String desired,
                                                     String supported,
                                                     int percent,
                                                     boolean oneway)
Deprecated. This API is ICU internal only.

Status:
Internal. This API is ICU internal only.

cloneAsThawed

public LocaleMatcher.LanguageMatcherData cloneAsThawed()
Deprecated. This API is ICU internal only.

Provides for the clone operation. Any clone is initially unfrozen.

Specified by:
cloneAsThawed in interface Freezable<LocaleMatcher.LanguageMatcherData>
Status:
Internal. This API is ICU internal only.

freeze

public LocaleMatcher.LanguageMatcherData freeze()
Deprecated. This API is ICU internal only.

Freezes the object.

Specified by:
freeze in interface Freezable<LocaleMatcher.LanguageMatcherData>
Returns:
the object itself.
Status:
Internal. This API is ICU internal only.

isFrozen

public boolean isFrozen()
Deprecated. This API is ICU internal only.

Determines whether the object has been frozen or not.

Specified by:
isFrozen in interface Freezable<LocaleMatcher.LanguageMatcherData>
Status:
Internal. This API is ICU internal only.


Copyright (c) 2011 IBM Corporation and others.