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
-
Constructor Summary
ConstructorDescriptionConstruct 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, wait
Methods 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:
hasPrevious
in interfaceListIterator<Map.Entry<K,
V>>
-
previous
- Specified by:
previous
in interfaceListIterator<Map.Entry<K,
V>>
-
nextIndex
public int nextIndex()- Specified by:
nextIndex
in interfaceListIterator<Map.Entry<K,
V>>
-
previousIndex
public int previousIndex()- Specified by:
previousIndex
in interfaceListIterator<Map.Entry<K,
V>>
-
remove
public void remove() -
set
- Specified by:
set
in interfaceListIterator<Map.Entry<K,
V>>
-
add
- Specified by:
add
in interfaceListIterator<Map.Entry<K,
V>>
-