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 boolean
hasNext()
Returns true if the iteration has more elements.Instruction
next()
Return the next instruction in the iteration.
-
-
-
Method Detail
-
hasNext
boolean hasNext()
Returns true if the iteration has more elements.- Specified by:
hasNext
in interfacejava.util.Iterator<Instruction>
-
next
Instruction next()
Return the next instruction in the iteration.- Specified by:
next
in interfacejava.util.Iterator<Instruction>
-
-