Package ghidra.program.model.block
Interface CodeBlockIterator
-
- All Known Implementing Classes:
SimpleBlockIterator
,SingleEntSubIterator
public interface CodeBlockIterator
An iterator interface over CodeBlocks.- See Also:
CodeBlock
,CollectionUtils.asIterable(T)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
hasNext()
Return true if next() will return a CodeBlock.CodeBlock
next()
Return the next CodeBlock.
-
-
-
Method Detail
-
hasNext
boolean hasNext() throws CancelledException
Return 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.
-
-