public class SourceVertexPredicate extends VertexPredicate
true
if and only if
the specified vertex is a source, i.e., has
no incoming directed edges.Modifier and Type | Field and Description |
---|---|
protected static SourceVertexPredicate |
instance |
isInitializationPredicate
Modifier | Constructor and Description |
---|---|
protected |
SourceVertexPredicate() |
Modifier and Type | Method and Description |
---|---|
boolean |
evaluateVertex(ArchetypeVertex arg0) |
static SourceVertexPredicate |
getInstance() |
evaluate
protected static SourceVertexPredicate instance
public static SourceVertexPredicate getInstance()
public boolean evaluateVertex(ArchetypeVertex arg0)
evaluateVertex
in class VertexPredicate
VertexPredicate.evaluateVertex(edu.uci.ics.jung.graph.ArchetypeVertex)