in scala.collection.immutable
object Map

`object` Map
  `extends` java.lang.Object
  `with` scala.ScalaObject

  This class extends the `Map` interface of collections that unambiguously map keys to values (i.e. a key is mapped to at least one value).

  This class defines the interface for functional map implementations relying on immutable data structures.

  Concrete map implementations have to provide functionality for the abstract methods in `scala.collection.Map` as well as for `factory`, `update`, and `-`.

Author:
  Matthias Zenger
Author:
  Erik Stenman
Author:
  Martin Odersky
Version:
  1.2, 31/06/2006

Constructor Summary
| `def` this

Def Summary
| `def` apply [A, B] (elems: {A, B}*) : scala.collection.immutable.Map[A, B] The canonical factory for this type
| `def` empty [A, B] : scala.collection.immutable.Map[A, B] The empty map of this type; this is implemented as a treemap

Constructor Detail

`def` this

Def Detail

`def` apply [A, B](elems: {A, B}*): scala.collection.immutable.Map[A, B]

  The canonical factory for this type

`def` empty [A, B]: scala.collection.immutable.Map[A, B]

  The empty map of this type; this is implemented as a treemap