All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scala.tools.nsc.util.MultiHashMap.scala Maven / Gradle / Ivy

There is a newer version: 2.11.2
Show newest version
package scala.tools.nsc.util

import scala.collection.{ mutable, immutable }

/** A hashmap with set-valued values, and an empty set as default value
 */
class MultiHashMap[K, V] extends mutable.HashMap[K, immutable.Set[V]] {
  override def default(key: K): immutable.Set[V] = Set()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy