I currently have a variable that looks like this:
val someVal = new HashMap[Float, Set[String]] with MultiMap[Float, String]
Now I would like to have a hash of these hashes of the form:
val someHashOfSomeVal = new HashMap[String, HashMap[Float, Set[String]] with MultiMap[Float, String]]
In other words, I need to have a hash table (with multiple values for each key) of hash tables (with multiple values of each key). Can anyone help me with how I declare / mutate this variable?
Do I mutate it like this?someHashOfSomeVal.addBinding("someKey", someVal)