scala.collection.JavaConversions

class MutableMapWrapper

[source: scala/collection/JavaConversions.scala]

case class MutableMapWrapper[A, B](val underlying : Map[A, B], m : ClassManifest[A])
extends java.util.AbstractMap[A, B] with Product
Method Summary
override def canEqual (arg0 : Any) : Boolean
A method that should be called from every well-designed equals method that is open to be overridden in a subclass. See Programming in Scala, Chapter 28 for discussion and design.
override def entrySet : java.util.Set[java.util.Map.Entry[A, B]]
override def productArity : Int
return k for a product A(x_1,...,x_k)
override def productElement (arg0 : Int) : Any
for a product A(x_1,...,x_k), returns x_(n+1) for 0 <= n < k
override def productPrefix : java.lang.String
By default the empty string. Implementations may override this method in order to prepend a string prefix to the result of the toString methods.
override def put (k : A, v : B) : B
override def remove (k : AnyRef) : B
override def size : Int
Methods inherited from Product
productIterator, productElements
Methods inherited from java.util.AbstractMap
java.util.AbstractMap.isEmpty, java.util.AbstractMap.containsValue, java.util.AbstractMap.containsKey, java.util.AbstractMap.get, java.util.AbstractMap.putAll, java.util.AbstractMap.clear, java.util.AbstractMap.keySet, java.util.AbstractMap.values, java.util.AbstractMap.equals, java.util.AbstractMap.hashCode, java.util.AbstractMap.toString, java.util.AbstractMap.clone
Methods inherited from AnyRef
getClass, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
override def size : Int
Overrides
java.util.AbstractMap.java.util.AbstractMap.size

override def put(k : A, v : B) : B
Overrides
java.util.AbstractMap.java.util.AbstractMap.put

override def remove(k : AnyRef) : B
Overrides
java.util.AbstractMap.java.util.AbstractMap.remove

override def entrySet : java.util.Set[java.util.Map.Entry[A, B]]
Overrides
java.util.AbstractMap.java.util.AbstractMap.entrySet

override def productPrefix : java.lang.String
By default the empty string. Implementations may override this method in order to prepend a string prefix to the result of the toString methods.
Overrides
Product.productPrefix

override def productArity : Int
return k for a product A(x_1,...,x_k)
Overrides
Product.productArity

override def productElement(arg0 : Int) : Any
for a product A(x_1,...,x_k), returns x_(n+1) for 0 <= n < k
Parameters
n - the index of the element to return
Throws
IndexOutOfBoundsException -
Returns
The element n elements after the first element
Overrides
Product.productElement

override def canEqual(arg0 : Any) : Boolean
A method that should be called from every well-designed equals method that is open to be overridden in a subclass. See Programming in Scala, Chapter 28 for discussion and design.