public enum ListChangeType extends Enum<ListChangeType>
Enum Constant and Description |
---|
DELETION
Indicates that an element has been removed from the list.
|
INSERTION
Indicates that an element has been inserted into the list.
|
REPLACEMENT
Indicates that an element in the list has been replaced by another one
(or edited, depending on the implementation).
|
Modifier and Type | Method and Description |
---|---|
static ListChangeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListChangeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListChangeType INSERTION
public static final ListChangeType DELETION
public static final ListChangeType REPLACEMENT
public static ListChangeType[] values()
for (ListChangeType c : ListChangeType.values()) System.out.println(c);
public static ListChangeType 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 null