Package com.google.common.collect
Class LinkedListMultimap.NodeIterator
java.lang.Object
com.google.common.collect.LinkedListMultimap.NodeIterator
- All Implemented Interfaces:
Iterator<Map.Entry<K,
,V>> ListIterator<Map.Entry<K,
V>>
- Enclosing class:
LinkedListMultimap<K,
V>
private class LinkedListMultimap.NodeIterator
extends Object
implements ListIterator<Map.Entry<K,V>>
An
Iterator
over all nodes.-
Field Summary
FieldsModifier and TypeFieldDescription(package private) LinkedListMultimap.Node
<K, V> (package private) int
(package private) LinkedListMultimap.Node
<K, V> (package private) int
(package private) LinkedListMultimap.Node
<K, V> -
Constructor Summary
Constructors -
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
-
nextIndex
int nextIndex -
next
-
current
-
previous
-
expectedModCount
int expectedModCount
-
-
Constructor Details
-
NodeIterator
NodeIterator(int index)
-
-
Method Details
-
checkForConcurrentModification
private void checkForConcurrentModification() -
hasNext
public boolean hasNext() -
next
-
remove
public void remove() -
hasPrevious
public boolean hasPrevious()- Specified by:
hasPrevious
in interfaceListIterator<Map.Entry<K,
V>>
-
previous
- Specified by:
previous
in interfaceListIterator<Map.Entry<K,
V>>
-
nextIndex
public int nextIndex()- Specified by:
nextIndex
in interfaceListIterator<Map.Entry<K,
V>>
-
previousIndex
public int previousIndex()- Specified by:
previousIndex
in interfaceListIterator<Map.Entry<K,
V>>
-
set
- Specified by:
set
in interfaceListIterator<Map.Entry<K,
V>>
-
add
- Specified by:
add
in interfaceListIterator<Map.Entry<K,
V>>
-
setValue
-