to top
Android APIs
public static class

Character.Subset

extends Object
java.lang.Object
   ↳ java.lang.Character.Subset
Known Direct Subclasses

Summary

Protected Constructors
Character.Subset(String string)
Constructs a new Subset.
Public Methods
final boolean equals(Object object)
Compares this character subset with the specified object.
final int hashCode()
Returns the integer hash code for this character subset.
final String toString()
Returns the string representation of this subset.
[Expand]
Inherited Methods
From class java.lang.Object

Protected Constructors

protected Character.Subset (String string)

Since: API Level 1

Constructs a new Subset.

Parameters
string this subset's name.

Public Methods

public final boolean equals (Object object)

Since: API Level 1

Compares this character subset with the specified object. Uses equals(Object) to do the comparison.

Parameters
object the object to compare this character subset with.
Returns
  • true if object is this subset, that is, if object == this; false otherwise.

public final int hashCode ()

Since: API Level 1

Returns the integer hash code for this character subset.

Returns
  • this subset's hash code, which is the hash code computed by hashCode().

public final String toString ()

Since: API Level 1

Returns the string representation of this subset.

Returns
  • this subset's name.