public class GtNum extends ComparisonExpression
ComparisonExpression that implements the greater than operator
for integers.
Both values are interpreted as integers. The compare(Value, Value)
method returns true if the left value is greater than the
right value.
predicate, value| Constructor and Description |
|---|
GtNum(ValueExpression value,
ValueExpression predicate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
compare(Value left,
Value right) |
equals, eval, hashCode, toStringpublic GtNum(ValueExpression value, ValueExpression predicate)
public boolean compare(Value left, Value right)
compare in class ComparisonExpressionCopyright © 2017. All rights reserved.