scala.collection.immutable
object Set

[source: `scala/collection/immutable/Set.scala`]

`` `object` Set
  `extends` AnyRef

  Canonical factories for immutable sets. The canonical immutable sets are currently implemented using immutable hash sets.

Method Summary
`def` | apply [A](elems : A*) : Set[A] The canonical factory for this type
`def` | empty [A] : Set[A] The empty set of this type

Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized

Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf

Method Details

`` `def` empty[A] : Set[A]

  The empty set of this type

`` `def` apply[A](elems : A*) : Set[A]

  The canonical factory for this type