|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.umd.cs.findbugs.ba.AbstractBlockOrder
public abstract class AbstractBlockOrder
Abstract base class for BlockOrder variants. It allows the subclass to specify just a Comparator for BasicBlocks, and handles the work of doing the sorting and providing Iterators.
BlockOrder
Field Summary | |
---|---|
private java.util.ArrayList<BasicBlock> |
blockList
|
Constructor Summary | |
---|---|
AbstractBlockOrder(CFG cfg,
java.util.Comparator<BasicBlock> comparator)
|
Method Summary | |
---|---|
java.util.Iterator<BasicBlock> |
blockIterator()
Return an Iterator which visits the basic blocks in order. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.ArrayList<BasicBlock> blockList
Constructor Detail |
---|
public AbstractBlockOrder(CFG cfg, java.util.Comparator<BasicBlock> comparator)
Method Detail |
---|
public java.util.Iterator<BasicBlock> blockIterator()
BlockOrder
blockIterator
in interface BlockOrder
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |