public final class RelationType
extends java.lang.Object
INVALID TRUE FALSE EQUAL_INEQUAL LESS_THAN GREATER_THAN
For a leaf node evaluated as a boolean token, its relationType is decided by the boolean value of the result boolean token: TRUE for true and FALSE for false.
For a relation node, (scalarLeft relationOperator scalarRight), the relationType depends on the relationOperator. If the relationOperator is '==' or '!=', the relationType can be EQUAL_INEQUAL indicating the two scalars equal or not equal; the relation type is LESS_THAN to indicate that the left scalar is less than the right one, and GREATER_THAN to indicate left scalar is bigger than the right one. For the other kinds of relation operators, the relationType is decided by the boolean value of the evaluation result, i.e., TRUE for true and FALSE for false.
The INVALID type is for a relation not evaluated yet.
Red (hyzheng) 
Yellow (hyzheng) 
Modifier and Type  Field and Description 

static int 
EQUAL_INEQUAL
Relation type a relation node that is evaluated to be true while the
relation operation is not equal or inequal.

static int 
FALSE
Relation type a relation node that is evaluated to be fale while the
relation operation is not equal or inequal.

static int 
GREATER_THAN
Relation type a relation node that is evaluated to be false and
the left token is greater than the right token, while the
relation operation is not equal or inequal.

static int 
INVALID
Relation type a relation node that is not evaluated.

static int 
LESS_THAN
Relation type a relation node that is evaluated to be false and
the left token is less than the right token, while the
relation operation is not equal or inequal.

static int 
TRUE
Relation type a relation node that is evaluated to be true while the
relation operation is not equal or inequal.

Constructor and Description 

RelationType() 
public static final int INVALID
public static final int TRUE
public static final int FALSE
public static final int EQUAL_INEQUAL
public static final int LESS_THAN
public static final int GREATER_THAN