org.jikesrvm.compilers.opt.ir
Class BasicBlock.ComputedBBEnum
java.lang.Object
org.jikesrvm.compilers.opt.ir.BasicBlock.ComputedBBEnum
- All Implemented Interfaces:
- Enumeration<BasicBlock>
- Enclosing class:
- BasicBlock
static final class BasicBlock.ComputedBBEnum
- extends Object
- implements Enumeration<BasicBlock>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
blocks
private BasicBlock[] blocks
numBlocks
private int numBlocks
current
private int current
BasicBlock.ComputedBBEnum
BasicBlock.ComputedBBEnum(int maxBlocks)
addElement
void addElement(BasicBlock b)
addPossiblyDuplicateElement
void addPossiblyDuplicateElement(BasicBlock b)
totalCount
public int totalCount()
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interface Enumeration<BasicBlock>
nextElement
public BasicBlock nextElement()
- Specified by:
nextElement
in interface Enumeration<BasicBlock>
fail
static void fail()
throws NoSuchElementException
- Throws:
NoSuchElementException