edu.umd.cs.findbugs.ba

Class BasicBlock.InstructionIterator

public class BasicBlock.InstructionIterator extends Object implements Iterator<InstructionHandle>

A forward Iterator over the instructions of a basic block. The duplicate() method can be used to make an exact copy of this iterator. Calling next() on the duplicate will not affect the original, and vice versa.
Constructor Summary
InstructionIterator(InstructionHandle first, InstructionHandle last)
Method Summary
BasicBlock.InstructionIteratorduplicate()
booleanhasNext()
InstructionHandlenext()
voidremove()

Constructor Detail

InstructionIterator

public InstructionIterator(InstructionHandle first, InstructionHandle last)

Method Detail

duplicate

public BasicBlock.InstructionIterator duplicate()

hasNext

public boolean hasNext()

next

public InstructionHandle next()

remove

public void remove()
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.