public class EqStr extends ComparisonExpression
ComparisonExpression that implements string equality.
Both values are interpreted as strings. The compare(Value, Value)
method returns true if both values represent the same string.
This is distinct from the byte-level Eq because byte
representations may differ, due to
Encodings.
predicate, value| Constructor and Description |
|---|
EqStr(ValueExpression value,
ValueExpression predicate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
compare(Value left,
Value right) |
equals, eval, hashCode, toStringpublic EqStr(ValueExpression value, ValueExpression predicate)
public boolean compare(Value left, Value right)
compare in class ComparisonExpressionCopyright © 2017. All rights reserved.