summaryrefslogtreecommitdiff
path: root/src/library/scala/collection/immutable/IntMap.scala
diff options
context:
space:
mode:
authorstepancheg <stepancheg@epfl.ch>2009-09-26 16:33:54 +0000
committerstepancheg <stepancheg@epfl.ch>2009-09-26 16:33:54 +0000
commitf7ba972de12ea2c0a39fef6db6d4a56b47b647e4 (patch)
tree0afb0cc25d70f543983b14bb086fcb62bbc1e31c /src/library/scala/collection/immutable/IntMap.scala
parent490218b35410873704e1bd97e7126e879204f0d0 (diff)
downloadscala-f7ba972de12ea2c0a39fef6db6d4a56b47b647e4.tar.gz
scala-f7ba972de12ea2c0a39fef6db6d4a56b47b647e4.tar.bz2
scala-f7ba972de12ea2c0a39fef6db6d4a56b47b647e4.zip
add @since annotations
Diffstat (limited to 'src/library/scala/collection/immutable/IntMap.scala')
-rw-r--r--src/library/scala/collection/immutable/IntMap.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/library/scala/collection/immutable/IntMap.scala b/src/library/scala/collection/immutable/IntMap.scala
index 5d7d385d8c..0ce61f93b4 100644
--- a/src/library/scala/collection/immutable/IntMap.scala
+++ b/src/library/scala/collection/immutable/IntMap.scala
@@ -50,6 +50,9 @@ private[immutable] object IntMapUtils {
import IntMapUtils._
+/**
+ * @since 2.7
+ */
object IntMap {
def empty[T] : IntMap[T] = IntMap.Nil;
def singleton[T](key : Int, value : T) : IntMap[T] = IntMap.Tip(key, value);
@@ -147,6 +150,8 @@ import IntMap._
* Specialised immutable map structure for integer keys, based on
* <a href="http://citeseer.ist.psu.edu/okasaki98fast.html">Fast Mergeable Integer Maps</a>
* by Okasaki and Gill. Essentially a trie based on binary digits of the the integers.
+ *
+ * @since 2.7
*/
sealed abstract class IntMap[+T] extends Map[Int, T] with MapLike[Int, T, IntMap[T]] {
override def empty: IntMap[T] = IntMap.Nil;