org.jikesrvm.compilers.opt.util
Class SpaceEffGraph.NodeEnumeration

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

private static final class SpaceEffGraph.NodeEnumeration
extends Object
implements GraphNodeEnumeration


Field Summary
private  SpaceEffGraphNode _node
           
 
Constructor Summary
SpaceEffGraph.NodeEnumeration(SpaceEffGraphNode n)
           
 
Method Summary
 boolean hasMoreElements()
           
 GraphNode next()
          Return the next graph node in the enumeration.
 GraphNode nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_node

private SpaceEffGraphNode _node
Constructor Detail

SpaceEffGraph.NodeEnumeration

public SpaceEffGraph.NodeEnumeration(SpaceEffGraphNode n)
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface Enumeration<GraphNode>

nextElement

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

next

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

Specified by:
next in interface GraphNodeEnumeration
Returns:
the next graph node in the enumeration