public enum ComparisonOperation extends java.lang.Enum<ComparisonOperation> implements Operation
Enum Constant and Description |
---|
OPERATION
Comparison operation.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SYMBOL
A comparison symbol operator.
|
Modifier and Type | Method and Description |
---|---|
Decimal |
execute(Namespace namespace,
java.lang.String oper,
java.lang.Comparable left,
java.lang.Comparable right) |
static ComparisonOperation |
valueOf(java.lang.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 java.lang.String SYMBOL
public static ComparisonOperation[] values()
for (ComparisonOperation c : ComparisonOperation.values()) System.out.println(c);
public static ComparisonOperation valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic Decimal execute(Namespace namespace, java.lang.String oper, java.lang.Comparable left, java.lang.Comparable right) throws ErrorException
ErrorException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.