Package ubic.basecode.dataStructure
Class DoubleAddingMap<K>
java.lang.Object
java.util.AbstractMap<K,Double>
java.util.HashMap<K,Double>
ubic.basecode.dataStructure.DoubleAddingMap<K>
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<K,
Double>
Similar to ubic.gemma.util.CountingMap. Except instead it adds the values of the keys.
- Author:
- ?
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,
V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Constructor Details
-
DoubleAddingMap
public DoubleAddingMap()
-
-
Method Details
-
addPut
adds the current value to the value of this key. If the current value is null then value becomes the d parameter.- Returns:
- the value at this key.
-
addPutAll
-