Package ghidra.generic.util.datastruct
Class RestrictedValueSortedMap.RestrictedKeyListIterator
- java.lang.Object
-
- ghidra.generic.util.datastruct.RestrictedValueSortedMap.RestrictedKeyListIterator
-
- All Implemented Interfaces:
java.util.Iterator<K>
,java.util.ListIterator<K>
- Enclosing class:
- RestrictedValueSortedMap<K,V>
public class RestrictedValueSortedMap.RestrictedKeyListIterator extends java.lang.Object implements java.util.ListIterator<K>
A list iterator suitable forList.listIterator()
, etc., on the keys of aRestrictedValueSortedMap
-
-
Field Summary
Fields Modifier and Type Field Description protected RestrictedValueSortedMap.RestrictedEntryListIterator
wit
-
Constructor Summary
Constructors Constructor Description RestrictedKeyListIterator()
Construct an iteratorRestrictedKeyListIterator(int start)
Construct an iterator starting at a given index of the sub list.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(K e)
boolean
hasNext()
boolean
hasPrevious()
K
next()
int
nextIndex()
K
previous()
int
previousIndex()
void
remove()
void
set(K e)
-
-
-
Field Detail
-
wit
protected final RestrictedValueSortedMap.RestrictedEntryListIterator wit
-
-
Method Detail
-
hasNext
public boolean hasNext()
-
next
public K next()
-
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPrevious
in interfacejava.util.ListIterator<K>
-
nextIndex
public int nextIndex()
- Specified by:
nextIndex
in interfacejava.util.ListIterator<K>
-
previousIndex
public int previousIndex()
- Specified by:
previousIndex
in interfacejava.util.ListIterator<K>
-
remove
public void remove()
-
-