public enum ComparisonOperation extends Enum<ComparisonOperation> implements Operation
Enum Constant and Description |
---|
OPERATION
Comparison operation.
|
Modifier and Type | Field and Description |
---|---|
static String |
SYMBOL
A comparison symbol operator.
|
Modifier and Type | Method and Description |
---|---|
Decimal |
execute(Namespace namespace,
String oper,
Comparable left,
Comparable right) |
static ComparisonOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComparisonOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComparisonOperation OPERATION
public static final String SYMBOL
public static ComparisonOperation[] values()
for (ComparisonOperation c : ComparisonOperation.values()) System.out.println(c);
public static ComparisonOperation 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 nullpublic Decimal execute(Namespace namespace, String oper, Comparable left, Comparable right) throws ErrorException
ErrorException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.