summaryrefslogtreecommitdiff
path: root/src/library/scala/collection/Set.scala
diff options
context:
space:
mode:
authormihaylov <mihaylov@epfl.ch>2006-03-03 14:32:42 +0000
committermihaylov <mihaylov@epfl.ch>2006-03-03 14:32:42 +0000
commitd7007f7a9607481eb73b8df587e3c52cf4272147 (patch)
treebd7a2af714fa1f12f38a3f1172c4001dde78f558 /src/library/scala/collection/Set.scala
parent91a9821f91d9953eaa14d09c18041ed3fdb4f0bb (diff)
downloadscala-d7007f7a9607481eb73b8df587e3c52cf4272147.tar.gz
scala-d7007f7a9607481eb73b8df587e3c52cf4272147.tar.bz2
scala-d7007f7a9607481eb73b8df587e3c52cf4272147.zip
Use 'mixin class' instead of 'trait'
Diffstat (limited to 'src/library/scala/collection/Set.scala')
-rw-r--r--src/library/scala/collection/Set.scala12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/library/scala/collection/Set.scala b/src/library/scala/collection/Set.scala
index fd8e1bed8c..66f571213e 100644
--- a/src/library/scala/collection/Set.scala
+++ b/src/library/scala/collection/Set.scala
@@ -12,20 +12,20 @@
package scala.collection;
-/** This trait defines the interface of collections that do not contain
- * duplicate elements. Trait <code>Set</code> may only be used for
+/** This class defines the interface of collections that do not contain
+ * duplicate elements. Class <code>Set</code> may only be used for
* accessing elements from set implementations. Two different extensions
- * of trait <code>Set</code> in the package <code>scala.collections.mutable</code>
+ * of class <code>Set</code> in the package <code>scala.collections.mutable</code>
* and <code>scala.collections.immutable</code> provide functionality for
- * adding new elements to a set. The trait in the first package is implemented
- * by sets the are modified destructively, whereas the trait in the second
+ * adding new elements to a set. The class in the first package is implemented
+ * by sets the are modified destructively, whereas the class in the second
* package is used by functional set implementations that rely on immutable
* data structures.
*
* @author Matthias Zenger
* @version 1.0, 08/07/2003
*/
-trait Set[A] extends AnyRef with Function1[A, Boolean] with Iterable[A] {
+mixin class Set[A] extends AnyRef with Function1[A, Boolean] with Iterable[A] {
/** Returns the number of elements in this set.
*