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.RestrictedEntryListIteratorwit
-
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 voidadd(K e)booleanhasNext()booleanhasPrevious()Knext()intnextIndex()Kprevious()intpreviousIndex()voidremove()voidset(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:
hasPreviousin interfacejava.util.ListIterator<K>
-
nextIndex
public int nextIndex()
- Specified by:
nextIndexin interfacejava.util.ListIterator<K>
-
previousIndex
public int previousIndex()
- Specified by:
previousIndexin interfacejava.util.ListIterator<K>
-
remove
public void remove()
-
-