private class AbstractListValuedMap.ValuesListIterator
extends java.lang.Object
implements java.util.ListIterator<V>
Modifier and Type | Field and Description |
---|---|
private java.util.ListIterator<V> |
iterator |
private K |
key |
private java.util.List<V> |
values |
Constructor and Description |
---|
ValuesListIterator(K key) |
ValuesListIterator(K key,
int index) |
Modifier and Type | Method and Description |
---|---|
void |
add(V value) |
boolean |
hasNext() |
boolean |
hasPrevious() |
V |
next() |
int |
nextIndex() |
V |
previous() |
int |
previousIndex() |
void |
remove() |
void |
set(V value) |
private final K key
private java.util.List<V> values
private java.util.ListIterator<V> iterator
public ValuesListIterator(K key)
public ValuesListIterator(K key, int index)
public boolean hasNext()
public boolean hasPrevious()
hasPrevious
in interface java.util.ListIterator<V>
public V next()
public int nextIndex()
nextIndex
in interface java.util.ListIterator<V>
public int previousIndex()
previousIndex
in interface java.util.ListIterator<V>
public void remove()