public class XorPredicate extends CompositePredicate
m_clauses
Constructor and Description |
---|
XorPredicate()
Create an empty XorPredicate.
|
XorPredicate(Predicate p1)
Create a new XorPredicate.
|
XorPredicate(Predicate p1,
Predicate p2)
Create a new XorPredicate.
|
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 XorPredicate()
public XorPredicate(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