2
** ________ ___ / / ___ Scala API **
3
** / __/ __// _ | / / / _ | (c) 2003-2011, LAMP/EPFL **
4
** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ **
5
** /____/\___/_/ |_/____/_/ | | **
9
package scala.collection
14
import scala.reflect.ClassManifest
15
import annotation.unchecked.uncheckedVariance
20
trait SubtractableMethods[A, +This <: Subtractable[A, This]] {
22
def -(elem1: A, elem2: A, elems: A*): This
23
def --(xs: TraversableOnce[A]): This
29
trait SetMethods[A, +This <: SetLike[A, This] with Set[A]]
30
extends IterableMethods[A, This]
31
with SubtractableMethods[A, This] {
36
def contains(elem: A): Boolean
41
def & (that: Set[A]): This
42
def &~ (that: Set[A]): This
43
def + (elem1: A, elem2: A, elems: A*): This
44
def apply(elem: A): Boolean
45
def diff(that: Set[A]): This
46
def intersect(that: Set[A]): This
47
def subsetOf(that: Set[A]): Boolean
48
def subsets(len: Int): Iterator[This]
49
def subsets: Iterator[This]
50
def union(that: Set[A]): This
51
def | (that: Set[A]): This