public ComparisonNode(String feature,Object value,String comparisonType,int qtrue,int qfalse){
  super(feature,value,qtrue,qfalse);
  if (!comparisonType.equals(LESS_THAN) && !comparisonType.equals(EQUALS) && !comparisonType.equals(GREATER_THAN)) {
    throw new Error("Invalid comparison type: " + comparisonType);
  }
 else {
    this.comparisonType=comparisonType;
  }
}

public ComparisonNode ( String feature , Object value , String comparisonType , int qtrue , int qfalse ) { super ( feature , value , qtrue , qfalse ) ; if ( ! comparisonType . equals ( LESS_THAN ) && ! comparisonType . equals ( EQUALS ) && ! comparisonType . equals ( GREATER_THAN ) ) { throw new Error ( "Invalid comparison type: " + comparisonType ) ; } else { this . comparisonType = comparisonType ; } }
create a new comparisonnode with the given values .
