Module org.controlsfx.controls
Class NumberParser<T extends Number>
- java.lang.Object
-
- impl.org.controlsfx.tableview2.filter.parser.number.NumberParser<T>
-
-
Constructor Summary
Constructors Constructor Description NumberParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetErrorMessage()A string with the error message if the parser fails to parse the supplied string.StringgetSymbol(String text)Return the symbol related to an operator text which can be used with this parser.booleanisValid(String text)Checks if the supplied text is valid or not.List<String>operators()Returns the list of operators which can be used with this parser.Predicate<T>parse(String text)
-
-
-
Method Detail
-
operators
public List<String> operators()
Description copied from interface:ParserReturns the list of operators which can be used with this parser.
-
getSymbol
public String getSymbol(String text)
Description copied from interface:ParserReturn the symbol related to an operator text which can be used with this parser.
-
isValid
public boolean isValid(String text)
Description copied from interface:ParserChecks if the supplied text is valid or not.
-
-