diff options
Diffstat (limited to 'src/library/scala/collection/generic/TraversableTemplate.scala')
-rw-r--r-- | src/library/scala/collection/generic/TraversableTemplate.scala | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/library/scala/collection/generic/TraversableTemplate.scala b/src/library/scala/collection/generic/TraversableTemplate.scala index f7b6dcc740..64017b06aa 100644 --- a/src/library/scala/collection/generic/TraversableTemplate.scala +++ b/src/library/scala/collection/generic/TraversableTemplate.scala @@ -6,17 +6,20 @@ ** |/ ** \* */ -// $Id: Traversable.scala 15188 2008-05-24 15:01:02Z stepancheg $ +// $Id$ + + package scala.collection.generic // import immutable.{List, Stream, Nil} //!!! import mutable.{Buffer, ArrayBuffer, ListBuffer} /** A template trait for traversable collections. - * This is a base trait of all kinds of Scala collections. It implements the - * behavior common to all collections, in terms of a method `foreach` with signature: + * This is a base trait of all kinds of Scala collections. It implements + * the behavior common to all collections, in terms of a method + * <code>foreach</code> with signature:<pre> * - * def foreach[U](f: Elem => U): Unit + * def foreach[U](f: Elem => U): Unit</pre> * * Collection classes mixing in this trait provide a concrete * <code>foreach</code> method which traverses all the |