public static enum Item.Operation extends java.lang.Enum<Item.Operation>
| Enum Constant and Description |
|---|
Add
The value is merged with the current value.
|
Remove
The value is removed from the current value.
|
Set
The value overwrites the current value.
|
| Modifier and Type | Method and Description |
|---|---|
static Item.Operation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Item.Operation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Item.Operation Set
public static final Item.Operation Add
public static final Item.Operation Remove
public static Item.Operation[] values()
for (Item.Operation c : Item.Operation.values()) System.out.println(c);
public static Item.Operation 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 null