|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.cscott.jutil.UnmodifiableIterator
harpoon.Analysis.EdgesIterator
public class EdgesIterator
EdgesIterator is a generic iterator for a set of
CFGraphable objects.
| Constructor Summary | |
|---|---|
EdgesIterator(CFGraphable e)
Convenience constructor. |
|
EdgesIterator(HCodeElement e,
CFGrapher grapher)
Creates a EdgesIterator for all the edges
reachable by recursively traversing the successors of
e. |
|
| Method Summary | |
|---|---|
boolean |
hasNext()
Checks if the set is empty. |
Object |
next()
Returns an CFGraphable if one remains. |
| Methods inherited from class net.cscott.jutil.UnmodifiableIterator |
|---|
proxy, remove |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Iterator |
|---|
remove |
| Constructor Detail |
|---|
public EdgesIterator(CFGraphable e)
public EdgesIterator(HCodeElement e,
CFGrapher grapher)
EdgesIterator for all the edges
reachable by recursively traversing the successors of
e. Predecessors are not included in the set.
| Method Detail |
|---|
public boolean hasNext()
CFGraphable
remain in the set. Else returns false.
hasNext in interface IteratorhasNext in class UnmodifiableIteratorpublic Object next()
CFGraphable if one remains.
this.hasNext() == true.
CFGraphable from the
set contained in this and removes it from the
set.
next in interface Iteratornext in class UnmodifiableIterator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||