Class FormatField

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AngleFormat.Field, RangeFormat.Field

class FormatField extends Format.Field
Base class of format fields.
Since:
0.3
Version:
0.3
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Serial number for cross-version compatibility.
      See Also:
    • ALL

      static final FormatField ALL
      A sentinel value for FormattedCharacterIterator internal usage only, meaning that all attributes shall be taken in account while computing a run range.
    • field

      final transient int field
      The numeric *_FIELD value for this constant. This value doesn't need to be serialized, because readResolve() will locate the original constant on deserialization.
  • Constructor Details

    • FormatField

      FormatField(String name, int field)
      Creates a new field of the given name.
      Parameters:
      name - the name, which shall be identical to the name of the public static constant.
      field - the numeric identifier of this field.
  • Method Details