Java.lang.Character.Subset Class



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.

Class Declaration

Following is the declaration for java.lang.Character.Subset class −

public static class Character.Subset
   extends Object

Class Constructors

Sr.No.

Constructor & Description

1

protected Character.Subset(String name)

This constructs a new Subset instance.

Class Methods

Sr.No.

Method & Description

1

equals()

This method compares two Subset objects for equality.

2

hashCode()

This method returns the standard hash code as defined by the Object.hashCode() method.

3

toString()

This method returns the name of this subset.

Advertisements