Class AbstractObject2DoubleSortedMap<K>
- All Implemented Interfaces:
Function<K,,Double> Object2DoubleFunction<K>,Object2DoubleMap<K>,Object2DoubleSortedMap<K>,Serializable,Function<K,,Double> ToDoubleFunction<K>,Map<K,,Double> SequencedMap<K,,Double> SortedMap<K,Double>
- Direct Known Subclasses:
Object2DoubleAVLTreeMap,Object2DoubleLinkedOpenCustomHashMap,Object2DoubleLinkedOpenHashMap,Object2DoubleRBTreeMap
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class it.unimi.dsi.fastutil.objects.AbstractObject2DoubleMap
AbstractObject2DoubleMap.BasicEntry<K>, AbstractObject2DoubleMap.BasicEntrySet<K>Nested classes/interfaces inherited from interface it.unimi.dsi.fastutil.objects.Object2DoubleMap
Object2DoubleMap.Entry<K>, Object2DoubleMap.FastEntrySet<K>Nested classes/interfaces inherited from interface it.unimi.dsi.fastutil.objects.Object2DoubleSortedMap
Object2DoubleSortedMap.FastSortedEntrySet<K> -
Method Summary
Methods inherited from class it.unimi.dsi.fastutil.objects.AbstractObject2DoubleMap
containsKey, containsValue, equals, hashCode, isEmpty, mergeDouble, putAll, toStringMethods inherited from class it.unimi.dsi.fastutil.objects.AbstractObject2DoubleFunction
defaultReturnValue, defaultReturnValueMethods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, equals, get, getOrDefault, hashCode, isEmpty, put, putAll, remove, replaceAll, sizeMethods inherited from interface it.unimi.dsi.fastutil.objects.Object2DoubleFunction
andThen, andThenByte, andThenChar, andThenDouble, andThenFloat, andThenInt, andThenLong, andThenObject, andThenReference, andThenShort, applyAsDouble, composeByte, composeChar, composeDouble, composeFloat, composeInt, composeLong, composeObject, composeReference, composeShort, getDouble, put, removeDoubleMethods inherited from interface it.unimi.dsi.fastutil.objects.Object2DoubleMap
clear, computeDouble, computeDoubleIfAbsent, computeDoubleIfAbsentPartial, computeDoubleIfPresent, computeIfAbsent, computeIfAbsent, containsKey, containsValue, containsValue, defaultReturnValue, defaultReturnValue, forEach, forEach, get, getOrDefault, getOrDefault, merge, merge, mergeDouble, mergeDouble, mergeDouble, put, putIfAbsent, putIfAbsent, remove, remove, remove, replace, replace, replace, replace, sizeMethods inherited from interface it.unimi.dsi.fastutil.objects.Object2DoubleSortedMap
comparator, entrySet, headMap, object2DoubleEntrySet, subMap, tailMapMethods inherited from interface java.util.SequencedMap
firstEntry, lastEntry, pollFirstEntry, pollLastEntry, sequencedEntrySet, sequencedKeySet, sequencedValues
-
Method Details
-
keySet
Returns a type-specific-set view of the keys of this map.The view is backed by the set returned by
Map.entrySet(). Note that no attempt is made at caching the result of this method, as this would require adding some attributes that lightweight implementations would not need. Subclasses may easily override this policy by calling this method and caching the result, but implementors are encouraged to write more efficient ad-hoc implementations.The view is backed by the sorted set returned by
Map.entrySet(). Note that no attempt is made at caching the result of this method, as this would require adding some attributes that lightweight implementations would not need. Subclasses may easily override this policy by calling this method and caching the result, but implementors are encouraged to write more efficient ad-hoc implementations.- Specified by:
keySetin interfaceMap<K,Double> - Specified by:
keySetin interfaceObject2DoubleMap<K>- Specified by:
keySetin interfaceObject2DoubleSortedMap<K>- Specified by:
keySetin interfaceSortedMap<K,Double> - Overrides:
keySetin classAbstractObject2DoubleMap<K>- Returns:
- a sorted set view of the keys of this map; it may be safely cast to a type-specific interface.
- See Also:
-
values
Returns a type-specific-set view of the values of this map.The view is backed by the set returned by
Map.entrySet(). Note that no attempt is made at caching the result of this method, as this would require adding some attributes that lightweight implementations would not need. Subclasses may easily override this policy by calling this method and caching the result, but implementors are encouraged to write more efficient ad-hoc implementations.The view is backed by the sorted set returned by
Map.entrySet(). Note that no attempt is made at caching the result of this method, as this would require adding some attributes that lightweight implementations would not need. Subclasses may easily override this policy by calling this method and caching the result, but implementors are encouraged to write more efficient ad-hoc implementations.- Specified by:
valuesin interfaceMap<K,Double> - Specified by:
valuesin interfaceObject2DoubleMap<K>- Specified by:
valuesin interfaceObject2DoubleSortedMap<K>- Specified by:
valuesin interfaceSortedMap<K,Double> - Overrides:
valuesin classAbstractObject2DoubleMap<K>- Returns:
- a type-specific collection view of the values contained in this map.
- See Also:
-