Package ghidra.program.model.listing
Interface DataIterator
-
- All Known Implementing Classes:
DataFilteredCodeUnitIterator
,DataKeyIterator
,DataRecordIterator
,DefinedDataIterator
public interface DataIterator extends java.util.Iterator<Data>, java.lang.Iterable<Data>
Interface to define an iterator over over some set of Data.- See Also:
CollectionUtils.asIterable(T)
-
-
Field Summary
Fields Modifier and Type Field Description static DataIterator
EMPTY
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static DataIterator
createEmptyIterator()
boolean
hasNext()
default java.util.Iterator<Data>
iterator()
Data
next()
-
-
-
Field Detail
-
EMPTY
static final DataIterator EMPTY
-
-
Method Detail
-
hasNext
boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator<Data>
-
iterator
default java.util.Iterator<Data> iterator()
- Specified by:
iterator
in interfacejava.lang.Iterable<Data>
-
createEmptyIterator
static DataIterator createEmptyIterator()
-
-