Package org.apache.sis.measure
Class UnitFormat.Position
java.lang.Object
java.text.ParsePosition
org.apache.sis.measure.UnitFormat.Position
- Enclosing class:
- UnitFormat
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 Summary
FieldsModifier and TypeFieldDescription(package private) boolean
true
if we do not expect any more content after the last term parsed. -
Constructor Summary
ConstructorsConstructorDescriptionPosition()
Creates a new position initialized to the beginning of the text to parse. -
Method Summary
Methods inherited from class java.text.ParsePosition
equals, getErrorIndex, getIndex, hashCode, setErrorIndex, setIndex, toString
-
Field Details
-
finished
boolean finishedtrue
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.
-