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

japgolly.webapputil.general.MultiStringMap.scala Maven / Gradle / Ivy

There is a newer version: 2.0.0-RC12
Show newest version
package japgolly.webapputil.general

/** Equivalent to a `Map[String, List[String]]`. */
final class MultiStringMap(asVector: Vector[(String, String)], isNormalised: Boolean)
    extends AbstractMultiStringMap[MultiStringMap](asVector, isNormalised) {

  override protected def create(asVector: Vector[(String, String)], isNormalised: Boolean = false) =
    new MultiStringMap(asVector, isNormalised)

  override def toMultiStringMap: MultiStringMap =
    this
}

object MultiStringMap extends AbstractMultiStringMap.Module[MultiStringMap] {

  override def fromVector(v: Vector[(String, String)]): MultiStringMap =
    new MultiStringMap(v, isNormalised = false)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy