public enum Change extends Enum<Change>
ChangeState to retrieve those elements
that have been changed in a certain way.
ADDED applies to elements that have been added to the graph, REMOVED is for removed elements, and
ANY is used to retrieve all elements that have undergone change.
ADDED and REMOVED are considered proper change states.| Modifier and Type | Method and Description |
|---|---|
boolean |
isProper() |
static Change |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Change[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Change ADDED
public static final Change REMOVED
public static final Change ANY
public static Change[] values()
for (Change c : Change.values()) System.out.println(c);
public static Change 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 boolean isProper()
Copyright © 2012–2015. All rights reserved.