private boolean evaluateComparator ( final int lhs ) { switch ( this . comparator ) { case EQ : return lhs == this . rhs ; case LE : return lhs <= this . rhs ; case LT : return lhs < this . rhs ; case GE : return lhs >= this . rhs ; case GT : return lhs > this . rhs ; default : throw new IllegalStateException ( "Unknown pseudo-Boolean comparator" ) ; } }
Computes the result of evaluating the comparator with a given left - hand side .