Class KeyComparatorLinkedHashMap.LinkedHashIterator<T>
- java.lang.Object
-
- org.glassfish.jersey.internal.util.collection.KeyComparatorLinkedHashMap.LinkedHashIterator<T>
-
- All Implemented Interfaces:
java.util.Iterator<T>
- Direct Known Subclasses:
KeyComparatorLinkedHashMap.EntryIterator
,KeyComparatorLinkedHashMap.KeyIterator
,KeyComparatorLinkedHashMap.ValueIterator
- Enclosing class:
- KeyComparatorLinkedHashMap<K,V>
private abstract class KeyComparatorLinkedHashMap.LinkedHashIterator<T> extends java.lang.Object implements java.util.Iterator<T>
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
expectedModCount
The modCount value that the iterator believes that the backing List should have.(package private) KeyComparatorLinkedHashMap.Entry<K,V>
lastReturned
(package private) KeyComparatorLinkedHashMap.Entry<K,V>
nextEntry
-
Constructor Summary
Constructors Modifier Constructor Description private
LinkedHashIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
(package private) KeyComparatorLinkedHashMap.Entry<K,V>
nextEntry()
void
remove()
-
-
-
Field Detail
-
nextEntry
KeyComparatorLinkedHashMap.Entry<K,V> nextEntry
-
lastReturned
KeyComparatorLinkedHashMap.Entry<K,V> lastReturned
-
expectedModCount
int expectedModCount
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<T>
-
remove
public void remove()
- Specified by:
remove
in interfacejava.util.Iterator<T>
-
nextEntry
KeyComparatorLinkedHashMap.Entry<K,V> nextEntry()
-
-