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.Object
currentKey
(package private) SoftHashMap.Entry<K,V>
entry
(package private) int
expectedModCount
(package private) int
index
(package private) SoftHashMap.Entry<K,V>
lastReturned
(package private) java.lang.Object
nextKey
-
Constructor Summary
Constructors Constructor Description HashIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
protected SoftHashMap.Entry<K,V>
nextEntry()
void
remove()
-
-
-
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:
hasNext
in interfacejava.util.Iterator<T>
-
nextEntry
protected SoftHashMap.Entry<K,V> nextEntry()
-
remove
public void remove()
- Specified by:
remove
in interfacejava.util.Iterator<T>
-
-