| Modifier and Type | Class and Description |
|---|---|
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private double | |
| public String | getErrorMessage()
Implements org. A string with the error message if the parser fails to parse the supplied string. |
| public String | getSymbol(String text)
Implements org. Return the symbol related to an operator text which can be used with this parser. |
| private static String | |
| private boolean | |
| public boolean | isValid(String text)
Implements org. Checks if the supplied text is valid or not. |
| public List | operators()
Implements org. Returns the list of operators which can be used with this parser. |
| public Predicate | |
| private String |
| errorString | back to summary |
|---|---|
| private String errorString | |
| NumberParser | back to summary |
|---|---|
| public NumberParser() | |
| convert | back to summary |
|---|---|
| private double convert(String numText) | |
| getErrorMessage | back to summary |
|---|---|
| public String getErrorMessage() Implements org. Doc from org. A string with the error message if the parser fails to parse the supplied string.
| |
| getSymbol | back to summary |
|---|---|
| public String getSymbol(String text) Implements org. Doc from org. Return the symbol related to an operator text which can be used with this parser.
| |
| i18nString | back to summary |
|---|---|
| private static String i18nString(String key) | |
| isNumeric | back to summary |
|---|---|
| private boolean isNumeric(String str) | |
| isValid | back to summary |
|---|---|
| public boolean isValid(String text) Implements org. Doc from org. Checks if the supplied text is valid or not.
| |
| operators | back to summary |
|---|---|
| public List Implements org. Doc from org. Returns the list of operators which can be used with this parser.
| |
| parse | back to summary |
|---|---|
| public Predicate Implements org.
| |
| trim | back to summary |
|---|---|
| private String trim(String text, int startIndex) | |
| Modifier and Type | Field and Description |
|---|---|
| public static final NumberParser. | |
| public static final NumberParser. | |
| public static final NumberParser. | |
| public static final NumberParser. | |
| public static final NumberParser. | |
| public static final NumberParser. | |
| private final String | |
| private final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public String | |
| public int | |
| public static NumberParser. | |
| public static NumberParser. |
| EQUALS | back to summary |
|---|---|
| public static final NumberParser. | |
| GREATER_THAN | back to summary |
|---|---|
| public static final NumberParser. | |
| GREATER_THAN_EQUALS | back to summary |
|---|---|
| public static final NumberParser. | |
| LESS_THAN | back to summary |
|---|---|
| public static final NumberParser. | |
| LESS_THAN_EQUALS | back to summary |
|---|---|
| public static final NumberParser. | |
| NOT_EQUALS | back to summary |
|---|---|
| public static final NumberParser. | |
| opr | back to summary |
|---|---|
| private final String opr | |
| symbol | back to summary |
|---|---|
| private final String symbol | |
| NumberOperation | back to summary |
|---|---|
| private NumberOperation(String opr, String symbol) | |
| get | back to summary |
|---|---|
| public String get() Implements impl.
| |
| getSymbol | back to summary |
|---|---|
| public String getSymbol() Implements impl.
| |
| length | back to summary |
|---|---|
| public int length() Implements impl.
| |
| valueOf | back to summary |
|---|---|
| public static NumberParser. | |
| values | back to summary |
|---|---|
| public static NumberParser. | |