com.koloboke.collect.map.hash
Interface HashDoubleLongMap

All Superinterfaces:
Container, DoubleLongMap, HashContainer, Map<Double,Long>

public interface HashDoubleLongMap
extends DoubleLongMap, HashContainer

An interface for DoubleLongMaps, based on hash tables.

This interface doesn't carry own specific behaviour, just combines it's superinterfaces.

Looking for a way to instantiate a HashDoubleLongMap? See static factory methods in HashDoubleLongMaps class.

See Also:
HashDoubleLongMapFactory, HashDoubleLongMaps, @KolobokeMap

Nested Class Summary
 
Nested classes/interfaces inherited from interface Map
Map.Entry<K,V>
 
Method Summary
 HashObjSet<Map.Entry<Double,Long>> entrySet()
          Returns a Set view of the mappings contained in this map.
 HashDoubleSet keySet()
          Returns a Set view of the keys contained in this map.
 
Methods inherited from interface com.koloboke.collect.map.DoubleLongMap
addValue, addValue, compute, computeIfAbsent, computeIfPresent, containsKey, containsKey, containsValue, containsValue, cursor, defaultValue, forEach, forEachWhile, get, get, getOrDefault, getOrDefault, merge, put, put, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeIf, replace, replace, replace, replace, replaceAll, values
 
Methods inherited from interface Map
clear, equals, hashCode, isEmpty, putAll, size
 
Methods inherited from interface com.koloboke.collect.hash.HashContainer
currentLoad, ensureCapacity, hashConfig, shrink
 
Methods inherited from interface com.koloboke.collect.Container
clear, isEmpty, size, sizeAsLong
 

Method Detail

keySet

@Nonnull
HashDoubleSet keySet()
Description copied from interface: java.util.Map
Returns a Set view of the keys contained in this map. The set is backed by the map, so changes to the map are reflected in the set, and vice-versa. If the map is modified while an iteration over the set is in progress (except through the iterator's own remove operation), the results of the iteration are undefined. The set supports element removal, which removes the corresponding mapping from the map, via the Iterator.remove, Set.remove, removeAll, retainAll, and clear operations. It does not support the add or addAll operations.

Specified by:
keySet in interface DoubleLongMap
Specified by:
keySet in interface Map<Double,Long>
Returns:
a set view of the keys contained in this map

entrySet

@Nonnull
HashObjSet<Map.Entry<Double,Long>> entrySet()
Description copied from interface: java.util.Map
Returns a Set view of the mappings contained in this map. The set is backed by the map, so changes to the map are reflected in the set, and vice-versa. If the map is modified while an iteration over the set is in progress (except through the iterator's own remove operation, or through the setValue operation on a map entry returned by the iterator) the results of the iteration are undefined. The set supports element removal, which removes the corresponding mapping from the map, via the Iterator.remove, Set.remove, removeAll, retainAll and clear operations. It does not support the add or addAll operations.

Specified by:
entrySet in interface DoubleLongMap
Specified by:
entrySet in interface Map<Double,Long>
Returns:
a set view of the mappings contained in this map