public boolean evaluate(int cmpResult) {switch (_code) {case NONE:case EQ:return cmpResult == 0;case NE: return cmpResult != 0;case LT: return cmpResult <  0;case LE: return cmpResult <= 0;case GT: return cmpResult >  0;case GE: return cmpResult >= 0;}throw new RuntimeException("Cannot call boolean evaluate on non-equality operator '"+ _representation + "'");}
public bool Evaluate(int cmpResult){switch (_code){case NONE:case EQ:return cmpResult == 0;case NE: return cmpResult != 0;case LT: return cmpResult < 0;case LE: return cmpResult <= 0;case GT: return cmpResult > 0;case GE: return cmpResult >= 0;}throw new Exception("Cannot call bool Evaluate on non-equality operator '"+ _representation + "'");}