Class DoubleIntListHashMap
java.lang.Object
org.apache.sysds.runtime.compress.utils.DoubleIntListHashMap
This class provides a memory-efficient replacement for
HashMap<Double,IntArrayList> for restricted use cases.-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendValue(double key, int value) Append value into the hashmap, but ignore all zero keys.get(double key) intsize()toString()
-
Field Details
-
hashMissCount
public static int hashMissCount
-
-
Constructor Details
-
DoubleIntListHashMap
public DoubleIntListHashMap() -
DoubleIntListHashMap
public DoubleIntListHashMap(int init_capacity)
-
-
Method Details