加载中...
The Wayback Machine - https://sup1a9wrlpyh5li9ro.vcoronado.top/web/20090226002728/http://developer.android.com:80/reference/java/text/AttributedCharacterIterator.Attribute.html
public static class

AttributedCharacterIterator.Attribute

extends Object
implements Serializable
java.lang.Object
   ↳ java.text.AttributedCharacterIterator.Attribute
Known Direct Subclasses
Known Indirect Subclasses

Summary

Constants
AttributedCharacterIterator.Attribute INPUT_METHOD_SEGMENT
AttributedCharacterIterator.Attribute LANGUAGE
AttributedCharacterIterator.Attribute READING
Protected Constructors
AttributedCharacterIterator.Attribute(String name)
Public Methods
final boolean equals(Object object)
Compares the argument to the receiver, and returns true if they represent the same object using a class specific comparison.
final int hashCode()
Returns an integer hash code for the receiver.
String toString()
Returns a string containing a concise, human-readable description of the receiver.
Protected Methods
String getName()
Object readResolve()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final AttributedCharacterIterator.Attribute INPUT_METHOD_SEGMENT

public static final AttributedCharacterIterator.Attribute LANGUAGE

public static final AttributedCharacterIterator.Attribute READING

Protected Constructors

protected AttributedCharacterIterator.Attribute (String name)

Public Methods

public final boolean equals (Object object)

Compares the argument to the receiver, and returns true if they represent the same object using a class specific comparison. The implementation in Object returns true only if the argument is the exact same object as the receiver (==).

Parameters
object Object the object to compare with this object.
Returns
  • boolean true if the object is the same as this object false if it is different from this object.

public final int hashCode ()

Returns an integer hash code for the receiver. Any two objects which answer true when passed to .equals must answer the same value for this method.

Returns
  • int the receiver's hash.

public String toString ()

Returns a string containing a concise, human-readable description of the receiver.

Returns
  • String a printable representation for the receiver.

Protected Methods

protected String getName ()

protected Object readResolve ()