clintval / bimap   2.0.0

MIT License GitHub

A modern bidirectional map in Scala

Scala versions: 2.13

bimap

Unit Tests Coverage Status Language

A modern bidirectional map in Scala.

Pacific City, Oregon

val map = BiMap(1 -> "1", 2 -> "2")
map.containsKey(1) shouldBe true
map.containsKey(2) shouldBe true
map.containsValue("1") shouldBe true
map.containsValue("2") shouldBe true
map should have size 2

If Mill is your build tool

ivyDeps ++ Agg(ivy"io.cvbio.collection.mutable::bimap::2.0.0")

If SBT is your build tool

libraryDependencies += "io.cvbio.collection.mutable" %% "bimap" % "2.0.0"