edu.uci.ics.jung.graph.predicates
Class SourceVertexPredicate
java.lang.Object
edu.uci.ics.jung.graph.predicates.GPredicate
edu.uci.ics.jung.graph.predicates.VertexPredicate
edu.uci.ics.jung.graph.predicates.SourceVertexPredicate
- All Implemented Interfaces:
- Predicate
public class SourceVertexPredicate
- extends VertexPredicate
Evaluates to true
if and only if
the specified vertex is a source, i.e., has
no incoming 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 SourceVertexPredicate instance
SourceVertexPredicate
protected SourceVertexPredicate()
getInstance
public static SourceVertexPredicate getInstance()
evaluateVertex
public boolean evaluateVertex(ArchetypeVertex arg0)
- Specified by:
evaluateVertex
in class VertexPredicate
- See Also:
VertexPredicate.evaluateVertex(edu.uci.ics.jung.graph.ArchetypeVertex)