Package ghidra.program.model.block
Interface CodeBlockIterator
-
- All Known Implementing Classes:
SimpleBlockIterator,SingleEntSubIterator
public interface CodeBlockIteratorAn iterator interface over CodeBlocks.- See Also:
CodeBlock,CollectionUtils.asIterable(T)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanhasNext()Return true if next() will return a CodeBlock.CodeBlocknext()Return the next CodeBlock.
-
-
-
Method Detail
-
hasNext
boolean hasNext() throws CancelledExceptionReturn true if next() will return a CodeBlock.- Throws:
CancelledException- thrown if the operation is cancelled.
-
next
CodeBlock next() throws CancelledException
Return the next CodeBlock.- Throws:
CancelledException- thrown if the operation is cancelled.
-
-