|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Node.State>
de.danielbechler.diff.node.Node.State
public static enum Node.State
The state of a Node representing the difference between two objects.
| Enum Constant Summary | |
|---|---|
ADDED
The value has been added to the working object. |
|
CHANGED
The value has been changed compared to the base object. |
|
CIRCULAR
Special state to mark circular references |
|
IGNORED
The value has not been looked at and has been ignored. |
|
REMOVED
The value has been removed from the working object. |
|
UNTOUCHED
The value is identical between working and base |
|
| Method Summary | |
|---|---|
static Node.State |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Node.State[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Node.State ADDED
public static final Node.State CHANGED
public static final Node.State REMOVED
public static final Node.State UNTOUCHED
public static final Node.State CIRCULAR
public static final Node.State IGNORED
| Method Detail |
|---|
public static Node.State[] values()
for (Node.State c : Node.State.values()) System.out.println(c);
public static Node.State valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||