org.jikesrvm.compilers.opt.util
Class GraphNodeEnumerator

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

public abstract class GraphNodeEnumerator
extends Object
implements Enumeration<GraphNode>


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)
           
abstract  GraphNode nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Enumeration
hasMoreElements
 

Constructor Detail

GraphNodeEnumerator

public GraphNodeEnumerator()
Method Detail

nextElement

public abstract 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)