org.jikesrvm.compilers.opt.util
Class GraphNodeEnumerator.Iter

java.lang.Object
  extended by org.jikesrvm.compilers.opt.util.GraphNodeEnumerator
      extended by org.jikesrvm.compilers.opt.util.GraphNodeEnumerator.Iter
All Implemented Interfaces:
Enumeration<GraphNode>, GraphNodeEnumeration
Enclosing class:
GraphNodeEnumerator

private static final class GraphNodeEnumerator.Iter
extends GraphNodeEnumerator


Field Summary
private  Iterator<GraphNode> i
           
 
Constructor Summary
GraphNodeEnumerator.Iter(Iterator<GraphNode> i)
           
 
Method Summary
 boolean hasMoreElements()
           
 GraphNode next()
          Return the next graph node in the enumeration.
 
Methods inherited from class org.jikesrvm.compilers.opt.util.GraphNodeEnumerator
create, create, create, nextElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

i

private final Iterator<GraphNode> i
Constructor Detail

GraphNodeEnumerator.Iter

GraphNodeEnumerator.Iter(Iterator<GraphNode> i)
Method Detail

hasMoreElements

public boolean hasMoreElements()

next

public GraphNode next()
Description copied from interface: GraphNodeEnumeration
Return the next graph node in the enumeration.

Returns:
the next graph node in the enumeration