public enum MapOperation extends Enum<MapOperation> implements Operation
Enum Constant and Description |
---|
GET
Map get operation.
|
Modifier and Type | Method and Description |
---|---|
Object |
execute(Namespace namespace,
String operation,
MapHolder left,
Object right) |
static MapOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MapOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MapOperation GET
public static MapOperation[] values()
for (MapOperation c : MapOperation.values()) System.out.println(c);
public static MapOperation 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 Object execute(Namespace namespace, String operation, MapHolder left, Object right) throws ErrorException
ErrorException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.