I am using a mutable HashMap with MultiMap mixing and noticed that the map.add method map.add now deprecated:
val fieldTokenMap = new HashMap[String, scala.collection.mutable.Set[Int]] with MultiMap[String, Int]
I basically bind a string or token to a list of identifiers. Is there any other way that I should use Map and MultiMap in Scala?
Thanks.
source share