Class TLongKeysLaxIterator

  • All Implemented Interfaces:
    Iterator<Long>

    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 Detail

      • TLongKeysLaxIterator

        public TLongKeysLaxIterator​(@NotNull
                                    gnu.trove.map.hash.TLongObjectHashMap<?> map)