| Enum Constant and Description |
|---|
EQ
General comparison: equal.
|
GE
General comparison: greater of equal.
|
GT
General comparison: greater.
|
LE
General comparison: less or equal.
|
LT
General comparison: less.
|
NE
General comparison: not equal.
|
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
name
String representation.
|
| Modifier and Type | Method and Description |
|---|---|
abstract CmpG.OpG |
invert()
Inverts the comparator.
|
abstract CmpG.OpG |
swap()
Swaps the comparator.
|
java.lang.String |
toString() |
static CmpG.OpG |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CmpG.OpG[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CmpG.OpG LE
public static final CmpG.OpG LT
public static final CmpG.OpG GE
public static final CmpG.OpG GT
public static final CmpG.OpG EQ
public static final CmpG.OpG NE
public static CmpG.OpG[] values()
for (CmpG.OpG c : CmpG.OpG.values()) System.out.println(c);
public static CmpG.OpG 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 nullpublic abstract CmpG.OpG swap()
public abstract CmpG.OpG invert()
public java.lang.String toString()
toString in class java.lang.Enum<CmpG.OpG>