Class FormattedCharacterIterator.Entry

java.lang.Object
org.apache.sis.measure.FormattedCharacterIterator.Entry
All Implemented Interfaces:
Serializable
Enclosing class:
FormattedCharacterIterator

private static final class FormattedCharacterIterator.Entry extends Object implements Serializable
Holds a field value, together with the run range in which this value is valid. Contains also a reference to the previous Entry in order to build a chained list (in reverse of insertion order) if many values exist for the same field.

To be more specific:

  • The map key is one of the static constants defined in the formatter Field inner class.
  • value is the numeric value being formatted for that particular field.
  • start and limit are the range of index in the SimpleCharacterIterator.text where the field value has been formatted.
Example: if AngleFormat formats "10°30′" and the user wants information about the degrees field, then: