Package com.mycila.xmltool
Class SoftHashMap.HashIterator<T>
- java.lang.Object
-
- com.mycila.xmltool.SoftHashMap.HashIterator<T>
-
- All Implemented Interfaces:
java.util.Iterator<T>
- Direct Known Subclasses:
SoftHashMap.EntryIterator,SoftHashMap.KeyIterator,SoftHashMap.ValueIterator
- Enclosing class:
- SoftHashMap<K,V>
private abstract class SoftHashMap.HashIterator<T> extends java.lang.Object implements java.util.Iterator<T>
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.ObjectcurrentKey(package private) SoftHashMap.Entry<K,V>entry(package private) intexpectedModCount(package private) intindex(package private) SoftHashMap.Entry<K,V>lastReturned(package private) java.lang.ObjectnextKey
-
Constructor Summary
Constructors Constructor Description HashIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()protected SoftHashMap.Entry<K,V>nextEntry()voidremove()
-
-
-
Field Detail
-
index
int index
-
entry
SoftHashMap.Entry<K,V> entry
-
lastReturned
SoftHashMap.Entry<K,V> lastReturned
-
expectedModCount
int expectedModCount
-
nextKey
java.lang.Object nextKey
-
currentKey
java.lang.Object currentKey
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfacejava.util.Iterator<T>
-
nextEntry
protected SoftHashMap.Entry<K,V> nextEntry()
-
remove
public void remove()
- Specified by:
removein interfacejava.util.Iterator<T>
-
-