Package org.openl.rules.cmatch.matcher
Class NumberMatchMatcher
- java.lang.Object
-
- org.openl.rules.cmatch.matcher.NumberMatchMatcher
-
-
Constructor Summary
Constructors Constructor Description NumberMatchMatcher(Class<?> directClass, Class<?> rangeClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectfromString(String checkValue)Parse matching object from string.protected Class<?>getDirectClass()booleanmatch(Object var, Object checkValue)Check whether actual value and check value are match or satisfy matching operation.
-
-
-
Method Detail
-
fromString
public Object fromString(String checkValue)
Description copied from interface:IMatcherParse matching object from string.Note that type of return value can depend on format of checkValue. For example, it can be Integer or IntRange.
- Specified by:
fromStringin interfaceIMatcher- Parameters:
checkValue- string value of a cell- Returns:
- matching value
-
getDirectClass
protected Class<?> getDirectClass()
-
-