in scala.collection.mutable
class ImmutableMapAdaptor

class ImmutableMapAdaptor [ A , B ]
extends java.lang.Object
with Map
with ScalaObject
This class can be used as an adaptor to create mutable maps from immutable map implementations. Only method empty has to be redefined if the immutable map on which this mutable map is originally based is not empty. empty is supposed to return the representation of an empty map.
author:
Matthias Zenger
version:
1.0, 21/07/2003

Constructor Summary
def this ( imap : Map )



Def Summary
def -= ( key : A ) : scala.Unit

override def apply ( key : A ) : B

override def clear : scala.Unit

override def contains ( key : A ) : scala.Boolean

def elements : Iterator

override def filter ( p : Function2 ) : scala.Unit

override def foreach ( f : Function2 ) : scala.Unit

def get ( key : A ) : Option

override def isDefinedAt ( key : A ) : scala.Boolean

override def isEmpty : scala.Boolean

override def keys : Iterator

override def map ( f : Function2 ) : scala.Unit

override def mappingToString ( p : Tuple2 ) : java.lang.String

def size : scala.Int

override def toList : List

override def toString : java.lang.String

def update ( key : A , value : B ) : scala.Unit

override def values : Iterator



Constructor Detail
def this ( imap : Map )

Def Detail
def -= ( key : A ) : scala.Unit

override def apply ( key : A ) : B

override def clear : scala.Unit

override def contains ( key : A ) : scala.Boolean

def elements : Iterator

override def filter ( p : Function2 ) : scala.Unit

override def foreach ( f : Function2 ) : scala.Unit

def get ( key : A ) : Option

override def isDefinedAt ( key : A ) : scala.Boolean

override def isEmpty : scala.Boolean

override def keys : Iterator

override def map ( f : Function2 ) : scala.Unit

override def mappingToString ( p : Tuple2 ) : java.lang.String

def size : scala.Int

override def toList : List

override def toString : java.lang.String

def update ( key : A , value : B ) : scala.Unit

override def values : Iterator