|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<CmpG.OpG>
org.basex.query.expr.CmpG.OpG
public static enum CmpG.OpG
Comparators.
Enum Constant Summary | |
---|---|
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. |
Field Summary | |
---|---|
java.lang.String |
name
String representation. |
static CmpG.OpG[] |
VALUES
Cached enums (faster). |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Field Detail |
---|
public static final CmpG.OpG[] VALUES
public final java.lang.String name
Method Detail |
---|
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 name
java.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>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |