public static enum DiffUserDataKeysEx.ScrollToPolicy extends java.lang.Enum<DiffUserDataKeysEx.ScrollToPolicy>
Enum Constant and Description |
---|
FIRST_CHANGE |
LAST_CHANGE |
Modifier and Type | Method and Description |
---|---|
<T> T |
select(java.util.List<T> changes) |
static DiffUserDataKeysEx.ScrollToPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DiffUserDataKeysEx.ScrollToPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiffUserDataKeysEx.ScrollToPolicy FIRST_CHANGE
public static final DiffUserDataKeysEx.ScrollToPolicy LAST_CHANGE
public static DiffUserDataKeysEx.ScrollToPolicy[] values()
for (DiffUserDataKeysEx.ScrollToPolicy c : DiffUserDataKeysEx.ScrollToPolicy.values()) System.out.println(c);
public static DiffUserDataKeysEx.ScrollToPolicy 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 nullpublic <T> T select(java.util.List<T> changes)