Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.lang

Class Character.Subset

java.lang.Object
|
+--java.lang.Character.Subset


public static class Character.Subset

extends Object

A subset of Unicode blocks.

Since:Authors:

Constructor Summary

Subset(java.lang.String name)

Construct a new subset of characters.

Method Summary

booleanequals(java.lang.Object o)

Compares two Subsets for equality.
inthashCode()

Makes the original hashCode of Object final, to be consistent with equals.
java.lang.StringtoString()

Returns the name of the subset.

Constructor Details

Subset

protected Subset(java.lang.String name)

Construct a new subset of characters.

Parameters:

Throws:


Method Details

equals

public final boolean equals(java.lang.Object o)

Compares two Subsets for equality. This is final, and restricts the comparison on the == operator, so it returns true only for the same object.

Parameters:

Returns:


hashCode

public final int hashCode()

Makes the original hashCode of Object final, to be consistent with equals.

Returns:


toString

public final String toString()

Returns the name of the subset.

Returns: