|
Scala
1.2.0.1 |
|||
Map
class into which this abstract
class is mixed in. Class ObservableMap
publishes
events of the type Message
.
Method Summary | |
override
|
def -=(key: A): Unit
This method removes a mapping from the given key .
|
override
|
def clear: Unit
Removes all mappings from the map. |
override
|
def update(key: A, value: B): Unit
This method allows one to add a new mapping from key
to value to the map.
|
Methods inherited from java/lang/Object-class |
eq, finalize, getClass, notify, notifyAll, synchronized, wait, wait, wait |
Methods inherited from scala/Any-class |
!=, ==, asInstanceOf, isInstanceOf, match |
Methods inherited from scala/Iterable-class |
/:, :\, elements, exists, find, foldLeft, foldRight, forall, foreach, sameElements |
Methods inherited from scala/collection/Map-class |
apply, contains, equals, exists, forall, foreach, get, isDefinedAt, isEmpty, keys, size, toList, values |
Methods inherited from scala/collection/mutable/Map-class |
++=, ++=, +=, --=, --=, <<, clone, excl, filter, hashCode, incl, map, mappingToString, toString |
Methods inherited from scala/collection/mutable/Publisher-class |
activateSubscription, publish, removeSubscription, removeSubscriptions, subscribe, subscribe, suspendSubscription |
Method Detail |
override def update(key: A, value: B): Unit
key
to value
to the map. If the map already contains a
mapping for key
, it will be overridden by this
function.
override def -=(key: A): Unit
key
.
If the map does not contain a mapping for the given key, the
method does nothing.
override def clear: Unit
|
Scala
1.2.0.1 |
|||