java.text
Class AttributedCharacterIterator.Attribute
java.lang.Object
java.text.AttributedCharacterIterator.Attribute
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- Format.Field, TextAttribute
- Enclosing interface:
- AttributedCharacterIterator
public static class AttributedCharacterIterator.Attribute
- extends Object
- implements Serializable
- See Also:
- Serialized Form
|
Method Summary |
boolean |
equals(Object object)
Compares the argument to the receiver, and returns true if they represent
the same object using a class specific comparison. |
protected String |
getName()
|
int |
hashCode()
Returns an integer hash code for the receiver. |
protected Object |
readResolve()
|
String |
toString()
Returns a string containing a concise, human-readable description of the
receiver. |
INPUT_METHOD_SEGMENT
public static final AttributedCharacterIterator.Attribute INPUT_METHOD_SEGMENT
LANGUAGE
public static final AttributedCharacterIterator.Attribute LANGUAGE
READING
public static final AttributedCharacterIterator.Attribute READING
AttributedCharacterIterator.Attribute
protected AttributedCharacterIterator.Attribute(String name)
equals
public final boolean equals(Object object)
- Description copied from class:
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 (==).
- Overrides:
equals in class Object
- 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. - See Also:
Object.hashCode()
getName
protected String getName()
hashCode
public final int hashCode()
- Description copied from class:
Object
- 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.
- Overrides:
hashCode in class Object
- Returns:
- int the receiver's hash.
- See Also:
Object.equals(java.lang.Object)
readResolve
protected Object readResolve()
throws InvalidObjectException
- Throws:
InvalidObjectException
toString
public String toString()
- Description copied from class:
Object
- Returns a string containing a concise, human-readable description of the
receiver.
- Overrides:
toString in class Object
- Returns:
- String a printable representation for the receiver.
Please submit a feedback, bug or feature