|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object prefuse.data.expression.AbstractExpression prefuse.data.expression.AbstractPredicate prefuse.data.expression.NotPredicate
public class NotPredicate
Predicate representing the negation of another predicate.
Constructor Summary | |
---|---|
NotPredicate(Predicate p)
Create a new NotPredicate. |
Method Summary | |
---|---|
protected void |
addChildListeners()
Add child listeners to catch and propagate sub-expression updates. |
boolean |
getBoolean(Tuple t)
By default, throws an UnsupportedOperationException. |
Predicate |
getPredicate()
Get the negated predicate. |
protected void |
removeChildListeners()
Remove child listeners for sub-expression updates. |
java.lang.String |
toString()
|
void |
visit(ExpressionVisitor v)
Passes the visitor through this expression and any sub expressions |
Methods inherited from class prefuse.data.expression.AbstractPredicate |
---|
get, getType |
Methods inherited from class prefuse.data.expression.AbstractExpression |
---|
addExpressionListener, expressionChanged, fireExpressionChange, getDouble, getFloat, getInt, getLong, hasListeners, removeExpressionListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface prefuse.data.expression.Expression |
---|
addExpressionListener, getDouble, getFloat, getInt, getLong, removeExpressionListener |
Constructor Detail |
---|
public NotPredicate(Predicate p)
p
- the predicate to negateMethod Detail |
---|
public Predicate getPredicate()
public boolean getBoolean(Tuple t)
AbstractExpression
getBoolean
in interface Expression
getBoolean
in class AbstractExpression
t
- the input Tuple
Expression.getBoolean(prefuse.data.Tuple)
public void visit(ExpressionVisitor v)
Expression
visit
in interface Expression
visit
in class AbstractExpression
v
- the ExpressionVisitorExpression.visit(prefuse.data.expression.ExpressionVisitor)
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
protected void addChildListeners()
AbstractExpression
addChildListeners
in class AbstractExpression
AbstractExpression.addChildListeners()
protected void removeChildListeners()
AbstractExpression
removeChildListeners
in class AbstractExpression
AbstractExpression.removeChildListeners()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |