|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Comp>
org.basex.query.xpath.values.Comp
public enum Comp
This enumeration assembles different value comparisons.
| Enum Constant Summary | |
|---|---|
APPR
Expression Type: approximate. |
|
APPRWORD
Expression Type: approximate. |
|
EQ
Expression Type: equal. |
|
FTCONTAINS
Expression Type: ftcontains. |
|
GE
Expression Type: greater of equal. |
|
GT
Expression Type: greater. |
|
LE
Expression Type: less or equal. |
|
LT
Expression Type: less. |
|
NE
Expression Type: not equal. |
|
WORD
Expression Type: contains. |
|
| Method Summary | |
|---|---|
abstract boolean |
eval(Item v1,
Item v2)
Evaluates the expression. |
java.lang.String |
toString()
|
static Comp |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static 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 Comp APPR
public static final Comp APPRWORD
public static final Comp EQ
public static final Comp FTCONTAINS
public static final Comp GE
public static final Comp GT
public static final Comp LE
public static final Comp LT
public static final Comp NE
public static final Comp WORD
| Method Detail |
|---|
public abstract boolean eval(Item v1,
Item v2)
v1 - first valuev2 - second value
public java.lang.String toString()
toString in class java.lang.Enum<Comp>public static Comp 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 static Comp[] values()
for (Comp c : Comp.values()) System.out.println(c);
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||