Package java.lang
Class Character.Subset
java.lang.Object
java.lang.Character.Subset
- Direct Known Subclasses:
Character.UnicodeBlock
- Enclosing class:
- Character
public static class Character.Subset extends Object
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Subset
Constructs a newSubset.
-
-
Method Details
-
equals
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)
-
toString
Returns this subset's name.
-