public enum Comparison extends java.lang.Enum<Comparison>
| Enum Constant and Description |
|---|
EQUAL |
EQUAL_OR_NEW |
NEW |
| Modifier and Type | Method and Description |
|---|---|
static Comparison |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Comparison[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Comparison EQUAL
public static final Comparison NEW
public static final Comparison EQUAL_OR_NEW
public static Comparison[] values()
for (Comparison c : Comparison.values()) System.out.println(c);
public static Comparison 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 null