edu.umd.cs.findbugs.ba
Class BasicBlock.InstructionIterator
java.lang.Object
edu.umd.cs.findbugs.ba.BasicBlock.InstructionIterator
- All Implemented Interfaces:
- java.util.Iterator<org.apache.bcel.generic.InstructionHandle>
- Enclosing class:
- BasicBlock
public class BasicBlock.InstructionIterator
- extends java.lang.Object
- implements java.util.Iterator<org.apache.bcel.generic.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.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
BasicBlock.InstructionIterator
public BasicBlock.InstructionIterator(org.apache.bcel.generic.InstructionHandle first,
org.apache.bcel.generic.InstructionHandle last)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface java.util.Iterator<org.apache.bcel.generic.InstructionHandle>
next
public org.apache.bcel.generic.InstructionHandle next()
- Specified by:
next
in interface java.util.Iterator<org.apache.bcel.generic.InstructionHandle>
remove
public void remove()
- Specified by:
remove
in interface java.util.Iterator<org.apache.bcel.generic.InstructionHandle>
duplicate
public BasicBlock.InstructionIterator duplicate()
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.