public class Eq extends ComparisonExpression
ComparisonExpression that implements byte-level equality.
Both values are interpreted as byte arrays. The
compare(Value, Value) method returns true if both
values represent the same array. That is, if both arrays are exactly the
same size and both arrays have the same byte value at every valid index.
predicate, value| Constructor and Description |
|---|
Eq(ValueExpression value,
ValueExpression predicate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
compare(Value left,
Value right) |
eval, toStringpublic Eq(ValueExpression value, ValueExpression predicate)
public boolean compare(Value left, Value right)
compare in class ComparisonExpressionCopyright © 2017. All rights reserved.