Java.lang.Character.Subset Class

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

S.N. Constructor & Description
1 protected Character.Subset(String name)

This constructs a new Subset instance.

Class methods

S.N. 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.

Methods inherited

This class inherits methods from the following classes:

  • java.lang.Object

Was this article helpful?

Related Articles

Leave A Comment?

You must be logged in to post a comment.