Field
open class Field : AttributedCharacterIterator.Attribute
Known Direct Subclasses
| DateFormat.Field |
The instances of this inner class are used as attribute keys and values in AttributedCharacterIterator that DateFormat.
|
| DateFormat.Field |
Defines constants that are used as attribute keys in the AttributedCharacterIterator returned from DateFormat.formatToCharacterIterator and as field identifiers in FieldPosition.
|
| MessageFormat.Field |
Defines constants that are used as attribute keys in the AttributedCharacterIterator returned from MessageFormat.formatToCharacterIterator.
|
| MessageFormat.Field |
Defines constants that are used as attribute keys in the AttributedCharacterIterator returned from MessageFormat.formatToCharacterIterator.
|
| NumberFormat.Field |
The instances of this inner class are used as attribute keys and values in AttributedCharacterIterator that NumberFormat.
|
| NumberFormat.Field |
Defines constants that are used as attribute keys in the AttributedCharacterIterator returned from NumberFormat.formatToCharacterIterator and as field identifiers in FieldPosition.
|
|
Defines constants that are used as attribute keys in the AttributedCharacterIterator returned from Format.formatToCharacterIterator and as field identifiers in FieldPosition.
Summary
| Protected constructors |
|
Creates a Field with the specified name.
|
| Inherited functions |
From class Attribute
Boolean |
equals(other: Any?)
Compares two objects for equality. This version only returns true for x.equals(y) if x and y refer to the same object, and guarantees this for all subclasses.
|
String! |
getName()
Returns the name of the attribute.
|
Int |
hashCode()
Returns a hash code value for the object. This version is identical to the one in Object, but is also final.
|
Any! |
readResolve()
Resolves instances being deserialized to the predefined constants.
|
String |
toString()
Returns a string representation of the object. This version returns the concatenation of class name, "(", a name identifying the attribute and ")".
|
|
Protected constructors
<init>
protected Field(name: String!)
Creates a Field with the specified name.
| Parameters |
name |
String!: Name of the attribute |