@Deprecated public final class PluralRanges extends Object implements Freezable<PluralRanges>, Comparable<PluralRanges>
| Constructor and Description |
|---|
PluralRanges()
Deprecated.
This API is ICU internal only.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(PluralRules.StandardPluralCategories rangeStart,
PluralRules.StandardPluralCategories rangeEnd,
PluralRules.StandardPluralCategories result)
Deprecated.
This API is ICU internal only.
|
PluralRanges |
cloneAsThawed()
Deprecated.
This API is ICU internal only.
|
int |
compareTo(PluralRanges that)
Deprecated.
This API is ICU internal only.
|
boolean |
equals(Object other)
Deprecated.
This API is ICU internal only.
|
PluralRanges |
freeze()
Deprecated.
This API is ICU internal only.
|
PluralRules.StandardPluralCategories |
get(PluralRules.StandardPluralCategories start,
PluralRules.StandardPluralCategories end)
Deprecated.
This API is ICU internal only.
|
int |
hashCode()
Deprecated.
This API is ICU internal only.
|
boolean |
isExplicit(PluralRules.StandardPluralCategories start,
PluralRules.StandardPluralCategories end)
Deprecated.
This API is ICU internal only.
|
boolean |
isExplicitlySet(PluralRules.StandardPluralCategories count)
Deprecated.
This API is ICU internal only.
|
boolean |
isFrozen()
Deprecated.
This API is ICU internal only.
|
String |
toString()
Deprecated.
This API is ICU internal only.
|
@Deprecated public PluralRanges()
@Deprecated public void add(PluralRules.StandardPluralCategories rangeStart, PluralRules.StandardPluralCategories rangeEnd, PluralRules.StandardPluralCategories result)
rangeStart - plural category for the start of the rangerangeEnd - plural category for the end of the rangeresult - the resulting plural category@Deprecated public PluralRules.StandardPluralCategories get(PluralRules.StandardPluralCategories start, PluralRules.StandardPluralCategories end)
isExplicit(com.ibm.icu.text.PluralRules.StandardPluralCategories, com.ibm.icu.text.PluralRules.StandardPluralCategories).)start - plural category for the start of the rangeend - plural category for the end of the range@Deprecated public boolean isExplicit(PluralRules.StandardPluralCategories start, PluralRules.StandardPluralCategories end)
get(com.ibm.icu.text.PluralRules.StandardPluralCategories, com.ibm.icu.text.PluralRules.StandardPluralCategories).start - plural category for the start of the rangeend - plural category for the end of the range@Deprecated public boolean isExplicitlySet(PluralRules.StandardPluralCategories count)
count - plural category to test@Deprecated public boolean equals(Object other)
o must represent the same object
as this instance using a class-specific comparison. The general contract
is that this comparison should be reflexive, symmetric, and transitive.
Also, no object reference other than null is equal to null.
The default implementation returns true only if this ==
o. See Writing a correct
equals method
if you intend implementing your own equals method.
The general contract for the equals and Object.hashCode() methods is that if equals returns true for
any two objects, then hashCode() must return the same value for
these objects. This means that subclasses of Object usually
override either both methods or neither of them.
equals in class Objectother - the object to compare this instance with.true if the specified object is equal to this Object; false otherwise.Object.hashCode()@Deprecated public int hashCode()
Object.equals(java.lang.Object) returns true must return
the same hash code value. This means that subclasses of Object
usually override both methods or neither method.
Note that hash values must not change over time unless information used in equals comparisons also changes.
See Writing a correct
hashCode method
if you intend implementing your own hashCode method.
hashCode in class ObjectObject.equals(java.lang.Object)@Deprecated public int compareTo(PluralRanges that)
compareTo in interface Comparable<PluralRanges>that - the object to compare to this instance.another;
a positive integer if this instance is greater than
another; 0 if this instance has the same order as
another.@Deprecated public boolean isFrozen()
isFrozen in interface Freezable<PluralRanges>@Deprecated public PluralRanges freeze()
freeze in interface Freezable<PluralRanges>@Deprecated public PluralRanges cloneAsThawed()
cloneAsThawed in interface Freezable<PluralRanges>@Deprecated public String toString()
getClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toString method
if you intend implementing your own toString method.