in scala.collection.immutable
object Set

`object` Set
  `extends` java.lang.Object
  `with` scala.ScalaObject

  This class represents immutable sets. Concrete set implementations just have to provide functionality for the abstract methods in `scala.collection.Set` as well as for `+` and `-`. Note that abstract immutable.Set's are not covariant in their type parameter. This is because some subclasses cannot support the `+` method for arbitrary types.

Author:
  Matthias Zenger
Author:
  Martin Odersky
Version:
  1.1, 03/05/2004

Constructor Summary
| `def` this

Def Summary
| `def` apply [A] (elems: A*) : scala.collection.immutable.Set[A] The canonical factory for this type
| `def` empty [A] : scala.collection.immutable.Set[A] The empty set of this type

Constructor Detail

`def` this

Def Detail

`def` apply [A](elems: A*): scala.collection.immutable.Set[A]

  The canonical factory for this type

`def` empty [A]: scala.collection.immutable.Set[A]

  The empty set of this type