edu.uci.ics.jung.graph.predicates
Class SinkVertexPredicate

java.lang.Object
  extended by edu.uci.ics.jung.graph.predicates.GPredicate
      extended by edu.uci.ics.jung.graph.predicates.VertexPredicate
          extended by 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

Field Summary
protected static SinkVertexPredicate instance
           
 
Fields inherited from class edu.uci.ics.jung.graph.predicates.GPredicate
isInitializationPredicate
 
Constructor Summary
protected SinkVertexPredicate()
           
 
Method Summary
 boolean evaluateVertex(ArchetypeVertex arg0)
           
static SinkVertexPredicate getInstance()
           
 
Methods inherited from class edu.uci.ics.jung.graph.predicates.VertexPredicate
evaluate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

protected static SinkVertexPredicate instance
Constructor Detail

SinkVertexPredicate

protected SinkVertexPredicate()
Method Detail

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)