static final class BasicBlock.ComputedBBEnum extends Object implements Enumeration<BasicBlock>
Modifier and Type | Field and Description |
---|---|
private BasicBlock[] |
blocks |
private int |
current |
private int |
numBlocks |
Constructor and Description |
---|
ComputedBBEnum(int maxBlocks) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
addElement(BasicBlock b) |
(package private) void |
addPossiblyDuplicateElement(BasicBlock b) |
(package private) static void |
fail() |
boolean |
hasMoreElements() |
BasicBlock |
nextElement() |
int |
totalCount() |
private final BasicBlock[] blocks
private int numBlocks
private int current
ComputedBBEnum(int maxBlocks)
void addElement(BasicBlock b)
void addPossiblyDuplicateElement(BasicBlock b)
public int totalCount()
public boolean hasMoreElements()
hasMoreElements
in interface Enumeration<BasicBlock>
public BasicBlock nextElement()
nextElement
in interface Enumeration<BasicBlock>
static void fail() throws NoSuchElementException
NoSuchElementException