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) intexpectedModCountThe 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 privateLinkedHashIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()(package private) KeyComparatorLinkedHashMap.Entry<K,V>nextEntry()voidremove()
-
-
-
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:
hasNextin interfacejava.util.Iterator<T>
-
remove
public void remove()
- Specified by:
removein interfacejava.util.Iterator<T>
-
nextEntry
KeyComparatorLinkedHashMap.Entry<K,V> nextEntry()
-
-