public enum CollectionAction extends Enum<CollectionAction>
Enum Constant and Description |
---|
CLEAR
Specifies that the entire collection has been cleared.
|
INSERT
Specifies that an element was added to the collection.
|
REMOVE
Specifies that an element was removed from the collection.
|
REPLACE
Specifies that an element was replaced in the collection.
|
Modifier and Type | Method and Description |
---|---|
static CollectionAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CollectionAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollectionAction INSERT
public static final CollectionAction REMOVE
public static final CollectionAction REPLACE
public static final CollectionAction CLEAR
public static CollectionAction[] values()
for (CollectionAction c : CollectionAction.values()) System.out.println(c);
public static CollectionAction 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 nullCopyright © 2021. All rights reserved.