public enum RangeOperation extends Enum<RangeOperation> implements Operation
1..5 = [1,2,3,4,5]
Enum Constant and Description |
---|
RANGE
Range operator
|
Modifier and Type | Method and Description |
---|---|
ListHolder |
execute(Namespace namespace,
String oper,
Decimal first,
Decimal last) |
static RangeOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RangeOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RangeOperation RANGE
public static RangeOperation[] values()
for (RangeOperation c : RangeOperation.values()) System.out.println(c);
public static RangeOperation 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 ListHolder execute(Namespace namespace, String oper, Decimal first, Decimal last) throws ErrorException
ErrorException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.