edu.uci.ics.jung.graph.predicates
Class SinkVertexPredicate
java.lang.Object
edu.uci.ics.jung.graph.predicates.GPredicate
edu.uci.ics.jung.graph.predicates.VertexPredicate
edu.uci.ics.jung.graph.predicates.SinkVertexPredicate
- All Implemented Interfaces:
- Predicate
public class SinkVertexPredicate
- extends VertexPredicate
Evaluates to true
if and only if
the specified vertex is a sink, i.e., has
no outgoing directed edges.
- Author:
- Joshua O'Madadhain
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
protected static SinkVertexPredicate instance
SinkVertexPredicate
protected SinkVertexPredicate()
getInstance
public static SinkVertexPredicate getInstance()
evaluateVertex
public boolean evaluateVertex(ArchetypeVertex arg0)
- Specified by:
evaluateVertex
in class VertexPredicate
- See Also:
VertexPredicate.evaluateVertex(edu.uci.ics.jung.graph.ArchetypeVertex)