The java.lang.Character.Subset class instances represent particular subsets of the Unicode character set. The only family of subsets defined in the Character class is UnicodeBlock.
Following is the declaration for java.lang.Character.Subset class −
public static class Character.Subset extends Object
Sr.No. | Constructor & Description |
---|---|
1 |
protected Character.Subset(String name) This constructs a new Subset instance. |
Sr.No. | Method & Description |
---|---|
1 | boolean equals(Object obj)
This method compares two Subset objects for equality. |
2 | int hashCode()
This method returns the standard hash code as defined by the Object.hashCode() method. |
3 | String toString()
This method returns the name of this subset. |
This class inherits methods from the following classes −