All Packages Class Hierarchy This Package Previous Next Index
Class DSRG.VKB.Operator
java.lang.Object
|
+----DSRG.VKB.Operator
- public final class Operator
- extends Object
- implements Serializable
This class represents the operator between two operands.
-
EQUAL
- is "=="
-
GREATTHAN
- is ">"
-
LESSTHAN
- is "<"
-
NOEQUAL
- is "!="
-
NOTGREATETHAN
- is "<="
-
NOTLESSTHAN
- is ">="
-
Value
- Current Value of the Operator
-
Operator(String)
- Initialize the Operand.
-
equals(String)
- Used to compare what is this operator
-
toString()
- Conver this operator to String.
EQUAL
static final String EQUAL
- is "=="
GREATTHAN
static final String GREATTHAN
- is ">"
LESSTHAN
static final String LESSTHAN
- is "<"
NOEQUAL
static final String NOEQUAL
- is "!="
NOTLESSTHAN
static final String NOTLESSTHAN
- is ">="
NOTGREATETHAN
static final String NOTGREATETHAN
- is "<="
Value
String Value
- Current Value of the Operator
Operator
public Operator(String op)
- Initialize the Operand.
The Default value is EQUAL
toString
public String toString()
- Conver this operator to String.
- Overrides:
- toString in class Object
equals
public boolean equals(String in)
- Used to compare what is this operator
- Parameters:
- in - String. It could be ">", "<", ">=", "<=", "=="
All Packages Class Hierarchy This Package Previous Next Index