summaryrefslogtreecommitdiff
path: root/src/library/scala/collection/mutable/IndexedSeqLike.scala
diff options
context:
space:
mode:
authorAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2010-04-10 15:20:46 +0000
committerAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2010-04-10 15:20:46 +0000
commite2decb09ed9cbfad6e1c61b68e24423620d01ff3 (patch)
treea7970f709b9ebaf3f63d6865bc76c45f1c653cff /src/library/scala/collection/mutable/IndexedSeqLike.scala
parent519214dcc68c941afb45ef6e749ec0afdb10af65 (diff)
downloadscala-e2decb09ed9cbfad6e1c61b68e24423620d01ff3.tar.gz
scala-e2decb09ed9cbfad6e1c61b68e24423620d01ff3.tar.bz2
scala-e2decb09ed9cbfad6e1c61b68e24423620d01ff3.zip
More docs. No review.
Diffstat (limited to 'src/library/scala/collection/mutable/IndexedSeqLike.scala')
-rw-r--r--src/library/scala/collection/mutable/IndexedSeqLike.scala21
1 files changed, 20 insertions, 1 deletions
diff --git a/src/library/scala/collection/mutable/IndexedSeqLike.scala b/src/library/scala/collection/mutable/IndexedSeqLike.scala
index a0f9205da2..0c2d3f17bb 100644
--- a/src/library/scala/collection/mutable/IndexedSeqLike.scala
+++ b/src/library/scala/collection/mutable/IndexedSeqLike.scala
@@ -16,7 +16,26 @@ import generic._
/** A subtrait of scala.collection.IndexedSeq which represents sequences
* that can be mutated.
*
- * @since 2.8
+ * It declares a method `update` which allows updating an element
+ * at a specific index in the sequence.
+ *
+ * This trait just implements `iterator` in terms of `apply` and `length`.
+ * However, see `IndexedSeqOptimized` for an implementation trait that overrides operations
+ * to make them run faster under the assumption of fast random access with `apply`.
+ *
+ * $indexedSeqInfo
+ *
+ * @tparam A the element type of the $coll
+ * @tparam Repr the type of the actual $coll containing the elements.
+ *
+ * @define Coll IndexedSeq
+ * @define coll mutable indexed sequence
+ * @define indexedSeqInfo
+ * @author Martin Odersky
+ * @version 2.8
+ * @since 2.8
+ * @define willNotTerminateInf
+ * @define mayNotTerminateInf
*/
trait IndexedSeqLike[A, +Repr] extends scala.collection.IndexedSeqLike[A, Repr] { self =>