Package java.lang
Class Character.Subset
- java.lang.Object
-
- java.lang.Character.Subset
-
- Direct Known Subclasses:
Character.UnicodeBlock,UCharacter.UnicodeBlock
- Enclosing class:
- Character
public static class Character.Subset extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)Compares this character subset for identity with the specified object.inthashCode()Returns this subset's hash code, which is the hash code computed byObject.hashCode().StringtoString()Returns this subset's name.
-
-
-
Constructor Detail
-
Subset
protected Subset(String name)
Constructs a newSubset.
-
-
Method Detail
-
equals
public final boolean equals(Object object)
Compares this character subset for identity with the specified object.- Overrides:
equalsin classObject- Parameters:
object- the object to compare this instance with.- Returns:
trueif the specified object is equal to thisObject;falseotherwise.- See Also:
Object.hashCode()
-
hashCode
public final int hashCode()
Returns this subset's hash code, which is the hash code computed byObject.hashCode().- Overrides:
hashCodein classObject- Returns:
- this object's hash code.
- See Also:
Object.equals(java.lang.Object)
-
-