public class AndPredicate extends CompositePredicate
m_clauses
Constructor and Description |
---|
AndPredicate()
Create an empty AndPredicate.
|
AndPredicate(Predicate p1)
Create a new AndPredicate.
|
AndPredicate(Predicate p1,
Predicate p2)
Create a new AndPredicate.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getBoolean(Tuple t)
By default, throws an UnsupportedOperationException.
|
java.lang.String |
toString() |
add, addChildListeners, clear, get, getSubPredicate, remove, removeChildListeners, set, set, size, toString, visit
get, getType
addExpressionListener, expressionChanged, fireExpressionChange, getDouble, getFloat, getInt, getLong, hasListeners, removeExpressionListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addExpressionListener, getDouble, getFloat, getInt, getLong, removeExpressionListener
public AndPredicate()
public AndPredicate(Predicate p1)
p1
- the sole clause of this predicatepublic boolean getBoolean(Tuple t)
AbstractExpression
getBoolean
in interface Expression
getBoolean
in class AbstractExpression
t
- the input TupleExpression.getBoolean(prefuse.data.Tuple)
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
Copyright ? 2013 Regents of the University of California