Package com.twelvemonkeys.util
Class LinkedMap.LinkedMapIterator<E>
- java.lang.Object
-
- com.twelvemonkeys.util.LinkedMap.LinkedMapIterator<E>
-
- All Implemented Interfaces:
java.util.Iterator<E>
- Direct Known Subclasses:
LinkedMap.EntryIterator
,LinkedMap.KeyIterator
,LinkedMap.ValueIterator
private abstract class LinkedMap.LinkedMapIterator<E> extends java.lang.Object implements java.util.Iterator<E>
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
mExpectedModCount
The modCount value that the iterator believes that the backing List should have.(package private) LinkedMap.LinkedEntry<K,V>
mLastReturned
(package private) LinkedMap.LinkedEntry<K,V>
mNextEntry
-
Constructor Summary
Constructors Modifier Constructor Description private
LinkedMapIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
(package private) LinkedMap.LinkedEntry<K,V>
nextEntry()
void
remove()
-
-
-
Field Detail
-
mNextEntry
LinkedMap.LinkedEntry<K,V> mNextEntry
-
mLastReturned
LinkedMap.LinkedEntry<K,V> mLastReturned
-
mExpectedModCount
int mExpectedModCount
The modCount value that the iterator believes that the backing List should have. If this expectation is violated, the iterator has detected concurrent modification.
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator<E>
-
remove
public void remove()
- Specified by:
remove
in interfacejava.util.Iterator<E>
-
nextEntry
LinkedMap.LinkedEntry<K,V> nextEntry()
-
-