public class ValidEdgePredicate extends AbstractPredicate
| Constructor and Description |
|---|
ValidEdgePredicate(Graph g)
Creates a new ValidEdgePredicate.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBoolean(Tuple tpl)
Indicates if the given tuple can be used as a valid edge for
the nodes of the backing graph.
|
get, getTypeaddChildListeners, addExpressionListener, expressionChanged, fireExpressionChange, getDouble, getFloat, getInt, getLong, hasListeners, removeChildListeners, removeExpressionListener, visitclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddExpressionListener, getDouble, getFloat, getInt, getLong, removeExpressionListener, visitpublic ValidEdgePredicate(Graph g)
g - the backing graph, the node table of this graph will be used
to check for valid edges.public boolean getBoolean(Tuple tpl)
getBoolean in interface ExpressiongetBoolean in class AbstractExpressiontpl - a data tuple from a potential edge tableExpression.getBoolean(prefuse.data.Tuple)