diff options
author | michelou <michelou@epfl.ch> | 2007-02-20 16:37:44 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2007-02-20 16:37:44 +0000 |
commit | 4362112a7e58271a50f3218248d8ef47af5cd408 (patch) | |
tree | 5e33db8c783b2f02361fcf4eb28a9b2cf273cf6d /src/library/scala/collection/immutable/ListMap.scala | |
parent | c71d5e24e64f88ee6f502326674b6b55025fcded (diff) | |
download | scala-4362112a7e58271a50f3218248d8ef47af5cd408.tar.gz scala-4362112a7e58271a50f3218248d8ef47af5cd408.tar.bz2 scala-4362112a7e58271a50f3218248d8ef47af5cd408.zip |
updated annotations in Scala library
Diffstat (limited to 'src/library/scala/collection/immutable/ListMap.scala')
-rw-r--r-- | src/library/scala/collection/immutable/ListMap.scala | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/library/scala/collection/immutable/ListMap.scala b/src/library/scala/collection/immutable/ListMap.scala index c3fdfe1a80..9d67709ae1 100644 --- a/src/library/scala/collection/immutable/ListMap.scala +++ b/src/library/scala/collection/immutable/ListMap.scala @@ -1,7 +1,7 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2003-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ @@ -17,7 +17,8 @@ object ListMap { /** The empty map of this type * @deprecated use <code>empty</code> instead */ - [deprecated] def Empty[A, B] = new ListMap[A, B] + @deprecated + def Empty[A, B] = new ListMap[A, B] /** The empty map of this type */ def empty[A, B] = new ListMap[A, B] @@ -36,7 +37,7 @@ object ListMap { * @author Martin Oderskty * @version 2.0, 01/01/2007 */ -[serializable] +@serializable class ListMap[A, +B] extends Map[A, B] { /** Returns a <code>new ListMap</code> instance mapping keys of the @@ -92,7 +93,7 @@ class ListMap[A, +B] extends Map[A, B] { protected def value: B = throw new NoSuchElementException("empty map") protected def next: ListMap[A, B] = throw new NoSuchElementException("empty map") - [serializable] + @serializable protected class Node[B1 >: B](override protected val key: A, override protected val value: B1) extends ListMap[A, B1] { /** Returns the number of mappings in this map. |