public interface Operator
| Modifier and Type | Field and Description |
|---|---|
static int |
ADD
The addition operator
+ |
static int |
DIV
The floating point division operator
div. |
static int |
EQUALS
The equal to operator
=. |
static int |
GREATER_THAN
The greater-than operator
> |
static int |
GREATER_THAN_EQUALS
The greater-than or equals operator
>= |
static int |
LESS_THAN
The less-than operator
< |
static int |
LESS_THAN_EQUALS
The less-than-or-equal-to operator
<= |
static int |
MOD
The remainder operator
mod. |
static int |
MULTIPLY
The multiplication operator
* |
static int |
NEGATIVE
Unary
- |
static int |
NO_OP
Indicates that we're passing through a grammar production without
actually activating it.
|
static int |
NOT_EQUALS
The not equal to operator
!= |
static int |
SUBTRACT
The subtraction operator
- |
static final int NO_OP
1 is matches AdditiveExpr and MultiplicativeExpr in
the XPath grammar, even though it has neither a plus,
minus, multiplication, or other sign.static final int EQUALS
=. This is equivalent to ==
in Java. This is a comparison operator, not an assignment operator.static final int NOT_EQUALS
!=static final int LESS_THAN
<static final int LESS_THAN_EQUALS
<=static final int GREATER_THAN
>static final int GREATER_THAN_EQUALS
>=static final int ADD
+static final int SUBTRACT
-static final int MULTIPLY
*static final int MOD
mod. This is equivalent to
% in Java.static final int DIV
div. This is equivalent to
/ in Java.static final int NEGATIVE
-Copyright © 2001-2012 Codehaus. All Rights Reserved.