|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jikesrvm.compilers.opt.controlflow.AnnotatedLSTNode.BBEnum
static final class AnnotatedLSTNode.BBEnum
This class implements an enumeration of BasicBlock
s. It is
used for iterating over basic blocks in a fashion determined by
the order in which basic blocks are added.
Field Summary | |
---|---|
private ArrayList<BasicBlock> |
blocks
ArrayList holding basic blocks |
private int |
currentBlock
The current block of the iterator |
Constructor Summary | |
---|---|
AnnotatedLSTNode.BBEnum()
Constructor |
Method Summary | |
---|---|
void |
add(BasicBlock block)
Insert a block to the end of the list |
boolean |
hasMoreElements()
Is the iterator at the end of the vector |
BasicBlock |
nextElement()
Get the next element from the vector and move the current block along |
String |
toString()
String representation of the object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private final ArrayList<BasicBlock> blocks
private int currentBlock
Constructor Detail |
---|
public AnnotatedLSTNode.BBEnum()
Method Detail |
---|
public void add(BasicBlock block)
block
- to insertpublic boolean hasMoreElements()
hasMoreElements
in interface Enumeration<BasicBlock>
public BasicBlock nextElement()
nextElement
in interface Enumeration<BasicBlock>
public String toString()
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |