Package org.jctools.maps
Class NonBlockingHashMapLong.SnapshotV
java.lang.Object
org.jctools.maps.NonBlockingHashMapLong.SnapshotV
- All Implemented Interfaces:
Enumeration<TypeV>
,Iterator<TypeV>
- Enclosing class:
NonBlockingHashMapLong<TypeV>
private class NonBlockingHashMapLong.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
-
_sschm
-
_idx
private int _idx -
_nextK
private long _nextK -
_prevK
private long _prevK -
_nextV
-
_prevV
-
-
Constructor Details
-
SnapshotV
public SnapshotV()
-
-
Method Details
-
length
int length() -
key
long key(int idx) -
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>
-