Class UnitFormat.Position

java.lang.Object
java.text.ParsePosition
org.apache.sis.measure.UnitFormat.Position
Enclosing class:
UnitFormat

private static final class UnitFormat.Position extends ParsePosition
Parse position when text to be parsed is expected to contain nothing else than a unit symbol. This is used for recording whether another term (separated from the previous term by a space) is allowed or not.
  • Field Details

    • finished

      boolean finished
      true if we do not expect any more content after the last term parsed.
  • Constructor Details

    • Position

      Position()
      Creates a new position initialized to the beginning of the text to parse.