A family of character subsets representing the character blocks in the
Unicode specification.
Instances of this class represent particular subsets of the Unicode
character set. The only family of subsets defined in the
Character class is Character.UnicodeBlock.
Other portions of the Java API may define other subsets for their
own purposes.
Compares two Subset objects for equality.
This method returns true if and only if
this and the argument refer to the same
object; since this method is final, this
guarantee holds for all subclasses.
Parameters
obj
the object to compare this instance with.
Returns
true if the specified object is equal to this Object; false otherwise.
public
final
int
hashCode()
Returns the standard hash code as defined by the
Object.hashCode() method. This method
is final in order to ensure that the
equals and hashCode methods will
be consistent in all subclasses.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[],["`Character.Subset` represents subsets of the Unicode character set, with `Character.UnicodeBlock` as the only predefined family. A `Subset` instance is constructed with a name. Key methods include `equals` for object comparison, `hashCode` for hash code retrieval, and `toString` to get the subset's name. It inherits methods from `Object`, such as `clone`, `wait`, and `notify`. Subclasses cannot override `equals` and `hashCode`.\n"]]