public enum ComparatorMode extends Enum<ComparatorMode> implements StringIdentifiable
Modifier and Type | Method and Description |
---|---|
String |
asString() |
String |
toString() |
static ComparatorMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComparatorMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
createCodec, createCodec, method_28142
public static final ComparatorMode COMPARE
public static final ComparatorMode SUBTRACT
private final String name
public static ComparatorMode[] values()
for (ComparatorMode c : ComparatorMode.values()) System.out.println(c);
public static ComparatorMode 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 String toString()
toString
in class Enum<ComparatorMode>
public String asString()
asString
in interface StringIdentifiable