org.jikesrvm.compilers.opt.util
Class FilteredDFSenumerateByFinish

java.lang.Object
  extended by org.jikesrvm.compilers.opt.util.Stack<GraphNode>
      extended by org.jikesrvm.compilers.opt.util.DFSenumerateByFinish
          extended by org.jikesrvm.compilers.opt.util.FilteredDFSenumerateByFinish
All Implemented Interfaces:
Iterable<GraphNode>, Enumeration<GraphNode>

public class FilteredDFSenumerateByFinish
extends DFSenumerateByFinish


Field Summary
private  GraphEdgeFilter filter
           
 
Fields inherited from class org.jikesrvm.compilers.opt.util.DFSenumerateByFinish
currentRoot
 
Constructor Summary
FilteredDFSenumerateByFinish(Graph net, Enumeration<GraphNode> nodes, GraphEdgeFilter filter)
           
 
Method Summary
protected  Enumeration<GraphNode> getConnected(GraphNode n)
          get the out edges of a given node
 
Methods inherited from class org.jikesrvm.compilers.opt.util.DFSenumerateByFinish
hasMoreElements, nextElement
 
Methods inherited from class org.jikesrvm.compilers.opt.util.Stack
compare, copy, empty, getTOS, isEmpty, iterator, peek, pop, push, shallowCopy, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

filter

private final GraphEdgeFilter filter
Constructor Detail

FilteredDFSenumerateByFinish

public FilteredDFSenumerateByFinish(Graph net,
                                    Enumeration<GraphNode> nodes,
                                    GraphEdgeFilter filter)
Method Detail

getConnected

protected Enumeration<GraphNode> getConnected(GraphNode n)
Description copied from class: DFSenumerateByFinish
get the out edges of a given node

Overrides:
getConnected in class DFSenumerateByFinish
Parameters:
n - the node of which to get the out edges
Returns:
the out edges