Package org.eclipse.sisu.wire
Class EntryListAdapter.ValueListIterator<V>
java.lang.Object
org.eclipse.sisu.wire.EntryListAdapter.ValueListIterator<V>
- All Implemented Interfaces:
Iterator<V>
,ListIterator<V>
- Enclosing class:
- EntryListAdapter<V>
private static final class EntryListAdapter.ValueListIterator<V>
extends Object
implements ListIterator<V>
Value
ListIterator
backed by a cached Key:Value Iterator
.-
Field Details
-
iterator
-
entryCache
-
index
private int index
-
-
Constructor Details
-
ValueListIterator
-
-
Method Details
-
hasNext
public boolean hasNext() -
hasPrevious
public boolean hasPrevious()- Specified by:
hasPrevious
in interfaceListIterator<V>
-
next
-
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>
-
add
- Specified by:
add
in interfaceListIterator<V>
-
set
- Specified by:
set
in interfaceListIterator<V>
-
remove
public void remove()
-