public enum DiffStatus extends Enum<DiffStatus>
As a rule the 2nd element is treated as it is some version of 1st one. But that is not always true.
| Enum Constant and Description |
|---|
ADDED
An element was added.
|
DIFFERS
An element is different.
|
EQUALS
An element is equal to original.
|
ORIGINAL
Original version
|
ORIGINAL_ABSENT
Original version -- no corresponding element
|
REMOVED
An element was removed.
|
| Modifier and Type | Method and Description |
|---|---|
static DiffStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DiffStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiffStatus ADDED
public static final DiffStatus REMOVED
public static final DiffStatus EQUALS
public static final DiffStatus DIFFERS
public static final DiffStatus ORIGINAL
public static final DiffStatus ORIGINAL_ABSENT
public static DiffStatus[] values()
for (DiffStatus c : DiffStatus.values()) System.out.println(c);
public static DiffStatus 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 nullCopyright © 2004–2019 OpenL Tablets. All rights reserved.