summaryrefslogtreecommitdiff
path: root/src/library/scala/collection/mutable/GenSet.scala.disabled
blob: 9080abaf38247d2ec5323fb61cf24ac3c13332f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/*                     __                                               *\
**     ________ ___   / /  ___     Scala API                            **
**    / __/ __// _ | / /  / _ |    (c) 2003-2011, LAMP/EPFL             **
**  __\ \/ /__/ __ |/ /__/ __ |    http://scala-lang.org/               **
** /____/\___/_/ |_/____/_/ | |                                         **
**                          |/                                          **
\*                                                                      */



package scala.collection
package mutable



import generic._


/** A generic trait for mutable sets.
 *
 *  $possiblyparinfo
 *  $setNote
 *  $setTags
 *
 *  @since 1.0
 *  @author Matthias Zenger
 *  @define Coll `mutable.Set`
 *  @define coll mutable set
 */
trait GenSet[A] extends GenIterable[A]
                   with Growable[A]
                   with scala.collection.GenSet[A]
                   with scala.collection.GenSetLike[A, GenSet[A]]
//                   with GenericSetTemplate[A, GenSet]
{
  //override def companion: GenericCompanion[GenSet] = GenSet
  def seq: Set[A]
}


// object GenSet extends TraversableFactory[GenSet] {
//   implicit def canBuildFrom[A]: CanBuildFrom[Coll, A, GenSet[A]] = ReusableCBF.asInstanceOf[GenericCanBuildFrom[A]]
//   def newBuilder[A]: Builder[A, GenSet[A]] = Set.newBuilder
// }