Package ghidra.program.model.listing
Interface InstructionIterator
- 
- All Superinterfaces:
 java.lang.Iterable<Instruction>,java.util.Iterator<Instruction>
- All Known Implementing Classes:
 InstructionRecordIterator
public interface InstructionIterator extends java.util.Iterator<Instruction>, java.lang.Iterable<Instruction>
Interface to define an iterator over over some set of instructions.- See Also:
 CollectionUtils.asIterable(T)
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanhasNext()Returns true if the iteration has more elements.Instructionnext()Return the next instruction in the iteration. 
 - 
 
- 
- 
Method Detail
- 
hasNext
boolean hasNext()
Returns true if the iteration has more elements.- Specified by:
 hasNextin interfacejava.util.Iterator<Instruction>
 
- 
next
Instruction next()
Return the next instruction in the iteration.- Specified by:
 nextin interfacejava.util.Iterator<Instruction>
 
 - 
 
 -