Mutable double to integer map based on an underlying LongIntHashMap. Primary use-case is computing a count for the number of times a particular value was encountered.
Value parameters
capacity
Initial capacity guideline. The actual size of the underlying buffer will be the next prime >= capacity. Default is 10.
noData
Value to use to represent no data in the array. This value should not be used in the input. Default is NaN.
Put a double to integer pair into the map. The key, k, should not be equivalent to the noData value used for this map. If an entry with the same key already exists, then the value will be overwritten.
Put a double to integer pair into the map. The key, k, should not be equivalent to the noData value used for this map. If an entry with the same key already exists, then the value will be overwritten.