Packages

object Set extends MutableSetFactory[Set]

This object provides a set of operations needed to create mutable.Set values. The current default implementation of a mutable.Set is a HashSet.

Source
Set.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Set
  2. MutableSetFactory
  3. SetFactory
  4. GenericSeqCompanion
  5. GenSetFactory
  6. GenericCompanion
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def apply[A](elems: A*): Set[A]

    Creates a collection with the specified elements.

    Creates a collection with the specified elements.

    A

    the type of the collection's elements

    elems

    the elements of the created collection

    returns

    a new collection with elements elems

    Definition Classes
    GenericCompanion
  2. implicit def canBuildFrom[A]: CanBuildFrom[Coll, A, Set[A]]
  3. def empty[A]: Set[A]

    An empty collection of type mutable.Set[A]

    An empty collection of type mutable.Set[A]

    A

    the type of the mutable set's elements

    Definition Classes
    SetGenericCompanion
  4. def newBuilder[A]: Builder[A, Set[A]]

    The default builder for Set objects.

    The default builder for Set objects.

    A

    the type of the set's elements

    Definition Classes
    MutableSetFactoryGenSetFactoryGenericCompanion
  5. def setCanBuildFrom[A]: CanBuildFrom[Set[_], A, Set[A]]

    The standard CanBuildFrom instance for Set objects.

    The standard CanBuildFrom instance for Set objects.

    Definition Classes
    GenSetFactory