public enum ModifiedState extends Enum<ModifiedState>
| Enum Constant and Description |
|---|
CLEARED
The cleared state.
|
FIRST_MATCH
The first match state.
|
NEW_MATCH
The new match state.
|
REMOVED
The removed state.
|
UNMODIFIED
The unmodified state.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> ModifiedState |
isModified(Collection<T> previous,
Collection<T> next)
Checks if the given previous(for instance in the past) Collection is modified comparing the
next(for instance now) Collection.
|
static ModifiedState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModifiedState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModifiedState CLEARED
public static final ModifiedState FIRST_MATCH
public static final ModifiedState NEW_MATCH
public static final ModifiedState REMOVED
public static final ModifiedState UNMODIFIED
public static ModifiedState[] values()
for (ModifiedState c : ModifiedState.values()) System.out.println(c);
public static ModifiedState 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 static <T> ModifiedState isModified(Collection<T> previous, Collection<T> next)
T - the type.previous - the previous collection.next - the next collection.Copyright © 2015–2016 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.