public static enum Rule.Operand extends Enum<Rule.Operand>
Enum Constant and Description |
---|
EQUAL |
GREATER_THAN |
LESS_THAN |
NOT_EQUAL |
Modifier and Type | Method and Description |
---|---|
boolean |
canMatch(Object ruleVal,
Object testVal) |
int |
compare(Object n1Val,
Object n2Val) |
int |
compareNum(Object n1Val,
Object n2Val) |
Object |
match(String val) |
String |
toStr(Object expectedVal) |
static Rule.Operand |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Rule.Operand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Rule.Operand EQUAL
public static final Rule.Operand NOT_EQUAL
public static final Rule.Operand GREATER_THAN
public static final Rule.Operand LESS_THAN
public final String operand
public static Rule.Operand[] values()
for (Rule.Operand c : Rule.Operand.values()) System.out.println(c);
public static Rule.Operand valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.