org.jikesrvm.compilers.opt.util
Class GraphNodeEnumerator

java.lang.Object
  extended by org.jikesrvm.compilers.opt.util.GraphNodeEnumerator
All Implemented Interfaces:
Enumeration<GraphNode>, GraphNodeEnumeration
Direct Known Subclasses:
GraphNodeEnumerator.Enum, GraphNodeEnumerator.Iter

public abstract class GraphNodeEnumerator
extends Object
implements GraphNodeEnumeration


Nested Class Summary
private static class GraphNodeEnumerator.Enum
           
private static class GraphNodeEnumerator.Iter
           
 
Constructor Summary
GraphNodeEnumerator()
           
 
Method Summary
static GraphNodeEnumerator create(Enumeration<GraphNode> e)
           
static GraphNodeEnumerator create(Iterable<GraphNode> i)
           
static GraphNodeEnumerator create(Iterator<GraphNode> i)
           
 GraphNode nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jikesrvm.compilers.opt.util.GraphNodeEnumeration
next
 
Methods inherited from interface java.util.Enumeration
hasMoreElements
 

Constructor Detail

GraphNodeEnumerator

public GraphNodeEnumerator()
Method Detail

nextElement

public final GraphNode nextElement()
Specified by:
nextElement in interface Enumeration<GraphNode>

create

public static GraphNodeEnumerator create(Enumeration<GraphNode> e)

create

public static GraphNodeEnumerator create(Iterator<GraphNode> i)

create

public static GraphNodeEnumerator create(Iterable<GraphNode> i)