- Enclosing class:
public static class Character.Subset
- extends Object
Instances of this class represent particular subsets of the Unicode
character set. The only family of subsets defined in the
Character class is
. Other portions of the Java API may define other
subsets for their own purposes.
Constructs a new
Returns the standard hash code as defined by the
Returns the name of this subset.
|Methods inherited from class java.lang.Object|
protected Character.Subset(String name)
- Constructs a new
name- The name of this subset
NullPointerException- if name is
public final boolean equals(Object obj)
- Compares two
Subsetobjects for equality. This method returns
trueif and only if
thisand the argument refer to the same object; since this method is
final, this guarantee holds for all subclasses.
public final int hashCode()
- Returns the standard hash code as defined by the
method. This method is
finalin order to ensure that the
hashCodemethods will be consistent in all subclasses.
public final String toString()