Package com.google.common.collect
Class LinkedListMultimap.NodeIterator
- java.lang.Object
-
- com.google.common.collect.LinkedListMultimap.NodeIterator
-
- All Implemented Interfaces:
java.util.Iterator<java.util.Map.Entry<K,V>>,java.util.ListIterator<java.util.Map.Entry<K,V>>
- Enclosing class:
- LinkedListMultimap<K,V>
private class LinkedListMultimap.NodeIterator extends java.lang.Object implements java.util.ListIterator<java.util.Map.Entry<K,V>>AnIteratorover all nodes.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) LinkedListMultimap.Node<K,V>current(package private) intexpectedModCount(package private) LinkedListMultimap.Node<K,V>next(package private) intnextIndex(package private) LinkedListMultimap.Node<K,V>previous
-
Constructor Summary
Constructors Constructor Description NodeIterator(int index)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(java.util.Map.Entry<K,V> e)private voidcheckForConcurrentModification()booleanhasNext()booleanhasPrevious()LinkedListMultimap.Node<K,V>next()intnextIndex()LinkedListMultimap.Node<K,V>previous()intpreviousIndex()voidremove()voidset(java.util.Map.Entry<K,V> e)(package private) voidsetValue(V value)
-
-
-
Field Detail
-
nextIndex
int nextIndex
-
next
LinkedListMultimap.Node<K,V> next
-
current
LinkedListMultimap.Node<K,V> current
-
previous
LinkedListMultimap.Node<K,V> previous
-
expectedModCount
int expectedModCount
-
-
Method Detail
-
checkForConcurrentModification
private void checkForConcurrentModification()
-
hasNext
public boolean hasNext()
-
next
public LinkedListMultimap.Node<K,V> next()
-
remove
public void remove()
-
hasPrevious
public boolean hasPrevious()
-
previous
public LinkedListMultimap.Node<K,V> previous()
-
nextIndex
public int nextIndex()
-
previousIndex
public int previousIndex()
-
setValue
void setValue(V value)
-
-