|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<CmpG.Comp>
org.basex.query.expr.CmpG.Comp
public static enum CmpG.Comp
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 | |
---|---|
CmpV.Comp |
cmp
Comparator. |
String |
name
String representation. |
Method Summary | |
---|---|
abstract CmpG.Comp |
invert()
Inverts the comparator. |
String |
toString()
|
static CmpG.Comp |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CmpG.Comp[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, 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.Comp LE
public static final CmpG.Comp LT
public static final CmpG.Comp GE
public static final CmpG.Comp GT
public static final CmpG.Comp EQ
public static final CmpG.Comp NE
Field Detail |
---|
public final String name
public final CmpV.Comp cmp
Method Detail |
---|
public static CmpG.Comp[] values()
for (CmpG.Comp c : CmpG.Comp.values()) System.out.println(c);
public static CmpG.Comp valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic abstract CmpG.Comp invert()
public String toString()
toString
in class Enum<CmpG.Comp>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |