Package ghidra.program.model.address
Class AddressIteratorAdapter
java.lang.Object
ghidra.program.model.address.AddressIteratorAdapter
- All Implemented Interfaces:
AddressIterator,Iterable<Address>,Iterator<Address>
-
Field Summary
Fields inherited from interface ghidra.program.model.address.AddressIterator
EMPTY_ITERATOR -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
AddressIteratorAdapter
-
-
Method Details
-
hasNext
public boolean hasNext()Description copied from interface:AddressIteratorChecks if there is a next address in the iteration.- Specified by:
hasNextin interfaceAddressIterator- Specified by:
hasNextin interfaceIterator<Address>- Returns:
- true if there is a next address.
-
next
Description copied from interface:AddressIteratorGet the next address.NOTE: This deviates from the standard
Iteratorinterface by returning null instead of throwing an exception.- Specified by:
nextin interfaceAddressIterator- Specified by:
nextin interfaceIterator<Address>- Returns:
- the next address in the iteration.
-
remove
public void remove() -
iterator
- Specified by:
iteratorin interfaceAddressIterator- Specified by:
iteratorin interfaceIterable<Address>
-