|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Character.Subset
public static class Character.Subset
A subset of Unicode blocks.
Constructor Summary | |
---|---|
protected |
Character.Subset(String name)
Construct a new subset of characters. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compares two Subsets for equality. |
int |
hashCode()
Makes the original hashCode of Object final, to be consistent with equals. |
String |
toString()
Returns the name of the subset. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected Character.Subset(String name)
name
- the name of the subset
NullPointerException
- if name is nullMethod Detail |
---|
public final boolean equals(Object o)
final
, and
restricts the comparison on the ==
operator, so it returns
true only for the same object.
equals
in class Object
o
- the object to compare
Object.hashCode()
public final int hashCode()
hashCode
in class Object
Object.equals(Object)
,
System.identityHashCode(Object)
public final String toString()
toString
in class Object
Object.getClass()
,
Object.hashCode()
,
Class.getName()
,
Integer.toHexString(int)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |