Package org.jctools.maps
Class NonBlockingHashMap.SnapshotV
java.lang.Object
org.jctools.maps.NonBlockingHashMap.SnapshotV
- All Implemented Interfaces:
Enumeration<TypeV>
,Iterator<TypeV>
- Enclosing class:
NonBlockingHashMap<TypeK,
TypeV>
private class NonBlockingHashMap.SnapshotV
extends Object
implements Iterator<TypeV>, Enumeration<TypeV>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Enumeration
asIterator
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
_sskvs
-
_idx
private int _idx -
_nextK
-
_prevK
-
_nextV
-
_prevV
-
-
Constructor Details
-
SnapshotV
public SnapshotV()
-
-
Method Details
-
length
int length() -
key
-
hasNext
public boolean hasNext() -
next
-
removeKey
public void removeKey() -
remove
public void remove() -
nextElement
- Specified by:
nextElement
in interfaceEnumeration<TypeV>
-
hasMoreElements
public boolean hasMoreElements()- Specified by:
hasMoreElements
in interfaceEnumeration<TypeV>
-