|
Scala 2.4.0-RC1
|
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 -
.
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 Detail |
def
apply
[A, B](elems: (A, B)*): scala.collection.immutable.Map[A, B]
def
empty
[A, B]: scala.collection.immutable.Map[A, B]