public abstract class BoundPredicate<T> extends Predicate<T,BoundTerm<T>> implements Bound<java.lang.Boolean>
Expression.Operation
Modifier | Constructor and Description |
---|---|
protected |
BoundPredicate(Expression.Operation op,
BoundTerm<T> term) |
Modifier and Type | Method and Description |
---|---|
BoundLiteralPredicate<T> |
asLiteralPredicate() |
BoundSetPredicate<T> |
asSetPredicate() |
BoundUnaryPredicate<T> |
asUnaryPredicate() |
java.lang.Boolean |
eval(StructLike struct)
Produce a value from the struct for this expression.
|
boolean |
isLiteralPredicate() |
boolean |
isSetPredicate() |
boolean |
isUnaryPredicate() |
BoundReference<?> |
ref()
Returns the underlying reference.
|
boolean |
test(StructLike struct) |
abstract boolean |
test(T value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isEquivalentTo, negate
protected BoundPredicate(Expression.Operation op, BoundTerm<T> term)
public boolean test(StructLike struct)
public abstract boolean test(T value)
public java.lang.Boolean eval(StructLike struct)
Bound
public BoundReference<?> ref()
Bound
public boolean isUnaryPredicate()
public BoundUnaryPredicate<T> asUnaryPredicate()
public boolean isLiteralPredicate()
public BoundLiteralPredicate<T> asLiteralPredicate()
public boolean isSetPredicate()
public BoundSetPredicate<T> asSetPredicate()