Class NumberFormat.Field
java.lang.Object
java.text.AttributedCharacterIterator.Attribute
java.text.Format.Field
org.graalvm.shadowed.com.ibm.icu.text.NumberFormat.Field
- All Implemented Interfaces:
Serializable
- Enclosing class:
NumberFormat
The instances of this inner class are used as attribute keys and values
in AttributedCharacterIterator that
NumberFormat.formatToCharacterIterator() method returns.
There is no public constructor to this class, the only instances are the constants defined here.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final NumberFormat.FieldApproximately sign.static final NumberFormat.Fieldstatic final NumberFormat.Fieldstatic final NumberFormat.Fieldstatic final NumberFormat.Fieldstatic final NumberFormat.Fieldstatic final NumberFormat.Fieldstatic final NumberFormat.Fieldstatic final NumberFormat.Fieldstatic final NumberFormat.Fieldstatic final NumberFormat.Fieldstatic final NumberFormat.Fieldstatic final NumberFormat.Fieldstatic final NumberFormat.FieldFields inherited from class AttributedCharacterIterator.Attribute
INPUT_METHOD_SEGMENT, LANGUAGE, READING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Objectserizalization method resolve instances to the constant NumberFormat.Field valuesMethods inherited from class AttributedCharacterIterator.Attribute
equals, getName, hashCode, toString
-
Field Details
-
SIGN
-
INTEGER
-
FRACTION
-
EXPONENT
-
EXPONENT_SIGN
-
EXPONENT_SYMBOL
-
DECIMAL_SEPARATOR
-
GROUPING_SEPARATOR
-
PERCENT
-
PERMILLE
-
CURRENCY
-
MEASURE_UNIT
-
COMPACT
-
APPROXIMATELY_SIGN
Approximately sign. In ICU 70, this was categorized under the generic SIGN field.
-
-
Constructor Details
-
Field
Constructs a new instance of NumberFormat.Field with the given field name.
-
-
Method Details
-
readResolve
serizalization method resolve instances to the constant NumberFormat.Field values- Overrides:
readResolvein classAttributedCharacterIterator.Attribute- Throws:
InvalidObjectException
-