summaryrefslogtreecommitdiff
path: root/sources/scala/collection/mutable/DefaultMapModel.scala
diff options
context:
space:
mode:
authorMatthias Zenger <mzenger@gmail.com>2003-07-08 12:02:31 +0000
committerMatthias Zenger <mzenger@gmail.com>2003-07-08 12:02:31 +0000
commite5770ffd3075ac20100bc8b8b655b20949db8c0e (patch)
tree65e743d09f7941bc5392d1bdbb087fd800b5a605 /sources/scala/collection/mutable/DefaultMapModel.scala
parente7e6cc4243f9f42efa0e62a5b81796eaa051e4f5 (diff)
downloadscala-e5770ffd3075ac20100bc8b8b655b20949db8c0e.tar.gz
scala-e5770ffd3075ac20100bc8b8b655b20949db8c0e.tar.bz2
scala-e5770ffd3075ac20100bc8b8b655b20949db8c0e.zip
Changed names in all the files and started to a...
Changed names in all the files and started to add some comments. The collection classes do not yet compile.
Diffstat (limited to 'sources/scala/collection/mutable/DefaultMapModel.scala')
-rw-r--r--sources/scala/collection/mutable/DefaultMapModel.scala15
1 files changed, 10 insertions, 5 deletions
diff --git a/sources/scala/collection/mutable/DefaultMapModel.scala b/sources/scala/collection/mutable/DefaultMapModel.scala
index 2e272dc59b..7da241c83f 100644
--- a/sources/scala/collection/mutable/DefaultMapModel.scala
+++ b/sources/scala/collection/mutable/DefaultMapModel.scala
@@ -4,15 +4,20 @@
** __\ \/ /__/ __ |/ /__/ __ | **
** /____/\___/_/ |_/____/_/ | | **
** |/ **
+** $Id$
\* */
-// $Id$
+package scala.collection.mutable;
-package scala;
-
-
-trait DefaultMapModel[A, B] extends MutableMap[A, B] {
+/** This trait is used internally. It implements the mutable <code>Map</code>
+ * trait in terms of three functions: <code>findEntry</code>, <code>addEntry</code>,
+ * and <code>entries</code>.
+ *
+ * @author Matthias Zenger
+ * @version 1.0, 08/07/2003
+ */
+trait DefaultMapModel[A, B] extends scala.collection.mutable.Map[A, B] {
protected def findEntry(key: A): Option[Entry];