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.


Variable Index

 o EQUAL
is "=="
 o GREATTHAN
is ">"
 o LESSTHAN
is "<"
 o NOEQUAL
is "!="
 o NOTGREATETHAN
is "<="
 o NOTLESSTHAN
is ">="
 o Value
Current Value of the Operator

Constructor Index

 o Operator(String)
Initialize the Operand.

Method Index

 o equals(String)
Used to compare what is this operator
 o toString()
Conver this operator to String.

Variables

 o EQUAL
 static final String EQUAL
is "=="

 o GREATTHAN
 static final String GREATTHAN
is ">"

 o LESSTHAN
 static final String LESSTHAN
is "<"

 o NOEQUAL
 static final String NOEQUAL
is "!="

 o NOTLESSTHAN
 static final String NOTLESSTHAN
is ">="

 o NOTGREATETHAN
 static final String NOTGREATETHAN
is "<="

 o Value
 String Value
Current Value of the Operator

Constructors

 o Operator
 public Operator(String op)
Initialize the Operand. The Default value is EQUAL

Methods

 o toString
 public String toString()
Conver this operator to String.

Overrides:
toString in class Object
 o 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