public class BooleanPrimitiveMatch extends Object implements IMatcherBuilder, IMatcher
OP_MATCH, OP_MAX, OP_MIN| Constructor and Description |
|---|
BooleanPrimitiveMatch() |
| Modifier and Type | Method and Description |
|---|---|
Object |
fromString(String checkValue)
Parse matching object from string.
|
IMatcher |
getInstanceIfSupports(IOpenClass type)
Get instance of matcher for a given type.
|
String |
getName()
Get name of match operation.
|
boolean |
match(Object var,
Object checkValue)
Check whether actual value and check value are match or satisfy matching operation.
|
public Object fromString(String checkValue)
IMatcherNote that type of return value can depend on format of checkValue. For example, it can be Integer or IntRange.
fromString in interface IMatchercheckValue - string value of a cellpublic IMatcher getInstanceIfSupports(IOpenClass type)
IMatcherBuilderIt can create new instance of the matcher each time or return *itself* if one matcher is enough. It is useful for enums and e.t.c
getInstanceIfSupports in interface IMatcherBuildertype - variable's classpublic String getName()
IMatcherBuildergetName in interface IMatcherBuilderCopyright © 2004–2019 OpenL Tablets. All rights reserved.