Package ghidra.program.model.listing
Interface CodeUnitIterator
-
- All Known Implementing Classes:
CodeUnitKeyIterator,CommentTypeFilterIterator,EmptyCodeUnitIterator
public interface CodeUnitIterator extends java.util.Iterator<CodeUnit>, java.lang.Iterable<CodeUnit>
Interface to define an iterator over over some set of code units.- See Also:
CollectionUtils.asIterable(T)
-
-
Field Summary
Fields Modifier and Type Field Description static CodeUnitIteratorEMPTY_ITERATOR
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanhasNext()Return true if there is a next CodeUnit.CodeUnitnext()Get the next CodeUnit or null if no more CodeUnits.
-
-
-
Field Detail
-
EMPTY_ITERATOR
static final CodeUnitIterator EMPTY_ITERATOR
-
-
Method Detail
-
hasNext
boolean hasNext()
Return true if there is a next CodeUnit.- Specified by:
hasNextin interfacejava.util.Iterator<CodeUnit>
-
-