Package ghidra.generic.util.datastruct
Class RestrictedValueSortedMap.RestrictedEntryListIterator
java.lang.Object
ghidra.generic.util.datastruct.RestrictedValueSortedMap.RestrictedEntryListIterator
- All Implemented Interfaces:
Iterator<Map.Entry<K,,V>> ListIterator<Map.Entry<K,V>>
- Enclosing class:
RestrictedValueSortedMap<K,V>
public class RestrictedValueSortedMap.RestrictedEntryListIterator
extends Object
implements ListIterator<Map.Entry<K,V>>
A list iterator suitable for
List.listIterator(), etc., on the entries of a
RestrictedValueSortedMap-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstruct an iteratorRestrictedEntryListIterator(int start) Construct an iterator starting at a given index of the sub list. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
wit
-
-
Constructor Details
-
RestrictedEntryListIterator
public RestrictedEntryListIterator()Construct an iterator -
RestrictedEntryListIterator
public RestrictedEntryListIterator(int start) Construct an iterator starting at a given index of the sub list.- Parameters:
start- initial iterator position
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-
hasPrevious
public boolean hasPrevious()- Specified by:
hasPreviousin interfaceListIterator<Map.Entry<K,V>>
-
previous
- Specified by:
previousin interfaceListIterator<Map.Entry<K,V>>
-
nextIndex
public int nextIndex()- Specified by:
nextIndexin interfaceListIterator<Map.Entry<K,V>>
-
previousIndex
public int previousIndex()- Specified by:
previousIndexin interfaceListIterator<Map.Entry<K,V>>
-
remove
public void remove() -
set
- Specified by:
setin interfaceListIterator<Map.Entry<K,V>>
-
add
- Specified by:
addin interfaceListIterator<Map.Entry<K,V>>
-