Package jetbrains.buildServer.util
Class TLongKeysLaxIterator
- java.lang.Object
-
- jetbrains.buildServer.util.TLongKeysLaxIterator
-
public class TLongKeysLaxIterator extends Object implements Iterator<Long>
This iterator is not sensitive to concurrent modifications of the underlying map. So it can be created for some map, then map can be modified and the same iterator can still be used without a need to recreate it. As a consequence it may not iterate over some keys or can iterate over the same key more than once (can happen in the event of the map resizing/rehashing).- Since:
- 2020.2.1
-
-
Constructor Summary
Constructors Constructor Description TLongKeysLaxIterator(gnu.trove.map.hash.TLongObjectHashMap<?> map)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
Long
next()
void
remove()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-