protected class DefaultUnitsDB.Prefixer extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
pos
The current position within the string.
|
protected String |
string
The string being parsed.
|
protected double |
value
The current value of the prefix.
|
Modifier | Constructor and Description |
---|---|
protected |
Prefixer(String string)
Construct.
|
Modifier and Type | Method and Description |
---|---|
protected String |
getString()
Return the current, remaining string.
|
protected double |
getValue()
Return the current prefix value.
|
protected boolean |
isLessThan(UnitPrefix prefix)
Indicate whether or not the beginning of the remainder of the string
is less than a prefix.
|
protected boolean |
stripPrefix(UnitPrefix[] names,
UnitPrefix[] symbols)
Strip leading prefix from the string.
|
protected final String string
protected int pos
protected double value
protected Prefixer(String string)
protected boolean stripPrefix(UnitPrefix[] names, UnitPrefix[] symbols)
protected boolean isLessThan(UnitPrefix prefix)
protected String getString()
protected double getValue()
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.