Package ghidra.program.model.symbol
Class ReferenceIteratorAdapter
- java.lang.Object
-
- ghidra.program.model.symbol.ReferenceIteratorAdapter
-
- All Implemented Interfaces:
ReferenceIterator
,java.lang.Iterable<Reference>
,java.util.Iterator<Reference>
public class ReferenceIteratorAdapter extends java.lang.Object implements ReferenceIterator
-
-
Constructor Summary
Constructors Constructor Description ReferenceIteratorAdapter(java.util.Iterator<? extends Reference> iterator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
Returns whether there is a next memory reference in the iterator.java.util.Iterator<Reference>
iterator()
Reference
next()
Get the next memory reference.void
remove()
-
-
-
Constructor Detail
-
ReferenceIteratorAdapter
public ReferenceIteratorAdapter(java.util.Iterator<? extends Reference> iterator)
-
-
Method Detail
-
hasNext
public boolean hasNext()
Description copied from interface:ReferenceIterator
Returns whether there is a next memory reference in the iterator.- Specified by:
hasNext
in interfacejava.util.Iterator<Reference>
- Specified by:
hasNext
in interfaceReferenceIterator
-
next
public Reference next()
Description copied from interface:ReferenceIterator
Get the next memory reference.- Specified by:
next
in interfacejava.util.Iterator<Reference>
- Specified by:
next
in interfaceReferenceIterator
- Returns:
- null if there is no next reference
-
remove
public void remove()
- Specified by:
remove
in interfacejava.util.Iterator<Reference>
-
-