Stay organized with collections
Save and categorize content based on your preferences.
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
Field
protected Field(name: String!)
Creates a Field with the specified name.
Parameters |
name |
String!: Name of the attribute |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2021-02-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-02-18 UTC."],[],[]]