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

java.lang.Object
  extended by edu.uci.ics.jung.graph.predicates.GPredicate
      extended by edu.uci.ics.jung.graph.predicates.EdgePredicate
          extended by edu.uci.ics.jung.graph.predicates.TreePredicate
All Implemented Interfaces:
Predicate

public class TreePredicate
extends EdgePredicate

Author:
danyelf

Field Summary
protected static TreePredicate instance
           
 
Fields inherited from class edu.uci.ics.jung.graph.predicates.GPredicate
isInitializationPredicate
 
Constructor Summary
TreePredicate()
           
 
Method Summary
 boolean evaluateEdge(ArchetypeEdge e)
          Any edges added to this graph must go to a vertex where
static TreePredicate getInstance()
           
 
Methods inherited from class edu.uci.ics.jung.graph.predicates.EdgePredicate
evaluate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

protected static TreePredicate instance
Constructor Detail

TreePredicate

public TreePredicate()
Method Detail

evaluateEdge

public boolean evaluateEdge(ArchetypeEdge e)
Any edges added to this graph must go to a vertex where

Specified by:
evaluateEdge in class EdgePredicate
See Also:
EdgePredicate.evaluateEdge(edu.uci.ics.jung.graph.ArchetypeEdge)

getInstance

public static TreePredicate getInstance()
Returns:
a TreePredicate instance