scala.tools.nsc.util.MultiHashMap.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.apache.servicemix.bundles.scala-compiler
Show all versions of org.apache.servicemix.bundles.scala-compiler
This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.
package scala.tools.nsc.util
import collection.mutable.HashMap
import collection.immutable
/** A hashmap with set-valued values, and an empty set as default value
*/
class MultiHashMap[K, V] extends HashMap[K, immutable.Set[V]] {
override def default(key: K): immutable.Set[V] = Set()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy