Package ghidra.generic.util.datastruct
Class RestrictedValueSortedMap.RestrictedValueListIterator
java.lang.Object
ghidra.generic.util.datastruct.RestrictedValueSortedMap.RestrictedValueListIterator
- All Implemented Interfaces:
Iterator<V>
,ListIterator<V>
- Enclosing class:
RestrictedValueSortedMap<K,
V>
public class RestrictedValueSortedMap.RestrictedValueListIterator
extends Object
implements ListIterator<V>
A list iterator suitable for
List.listIterator()
, etc., on the values of a
RestrictedValueSortedMap
-
Field Summary
Modifier and TypeFieldDescriptionprotected final RestrictedValueSortedMap<K,
V>.RestrictedEntryListIterator -
Constructor Summary
ConstructorDescriptionConstruct an iteratorRestrictedValueListIterator
(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
-
RestrictedValueListIterator
public RestrictedValueListIterator()Construct an iterator -
RestrictedValueListIterator
public RestrictedValueListIterator(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<V>
-
previous
- Specified by:
previous
in interfaceListIterator<V>
-
nextIndex
public int nextIndex()- Specified by:
nextIndex
in interfaceListIterator<V>
-
previousIndex
public int previousIndex()- Specified by:
previousIndex
in interfaceListIterator<V>
-
remove
public void remove() -
set
- Specified by:
set
in interfaceListIterator<V>
-
add
- Specified by:
add
in interfaceListIterator<V>
-