Hi,
- How do I create an HashMap<String,Double>? I see char but no strings. Do I have to use Object2IntOpenHashMap<K>?
- Would you recommend using Char[] over String? If so, is there a way of using fastutil to have Char[] as key?
motivation: I have to create a billion of a type A which each instance has a distinct hashmap<String,Double>.
usage: Typically, I would use the the hashmap for zipping. Example
if a1.map contains ("a",1.2) and ("b",4.5)
and a2.map contains ("a",2.2) ,("b",9.9)and ("c",5.5)
I will zip it to give me a list of Tuples(in Scala) where the result would be a list containing ("a",1.2,2.2),("b",4.5,9.9) and ("c",None,5.5)
Warm Regards,
Rajiv