|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectprefuse.data.expression.AbstractExpression
prefuse.data.expression.AbstractPredicate
prefuse.data.expression.CompositePredicate
prefuse.data.expression.XorPredicate
public class XorPredicate
Predicate representing an "xor" clause of sub-predicates.
| Field Summary |
|---|
| Fields inherited from class prefuse.data.expression.CompositePredicate |
|---|
m_clauses |
| Constructor Summary | |
|---|---|
XorPredicate()
Create an empty XorPredicate. |
|
XorPredicate(Predicate p1)
Create a new XorPredicate. |
|
XorPredicate(Predicate p1,
Predicate p2)
Create a new XorPredicate. |
|
| Method Summary | |
|---|---|
boolean |
getBoolean(Tuple t)
By default, throws an UnsupportedOperationException. |
java.lang.String |
toString()
|
| Methods inherited from class prefuse.data.expression.CompositePredicate |
|---|
add, addChildListeners, clear, get, getSubPredicate, remove, removeChildListeners, set, set, size, toString, visit |
| 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 XorPredicate()
public XorPredicate(Predicate p1)
p1 - the sole clause of this predicate
public XorPredicate(Predicate p1,
Predicate p2)
p1 - the first clause of this predicatep2 - the second clause of this predicate| Method Detail |
|---|
public boolean getBoolean(Tuple t)
AbstractExpression
getBoolean in interface ExpressiongetBoolean in class AbstractExpressiont - the input Tuple
Expression.getBoolean(prefuse.data.Tuple)public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||