Packages

object Set extends ImmutableSetFactory[Set]

This object provides a set of operations needed to create immutable.Set values.

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

Type Members

  1. class Set1[A] extends AbstractSet[A] with Set[A] with Serializable

    An optimized representation for immutable sets of size 1

    An optimized representation for immutable sets of size 1

    Annotations
    @SerialVersionUID()
  2. class Set2[A] extends AbstractSet[A] with Set[A] with Serializable

    An optimized representation for immutable sets of size 2

    An optimized representation for immutable sets of size 2

    Annotations
    @SerialVersionUID()
  3. class Set3[A] extends AbstractSet[A] with Set[A] with Serializable

    An optimized representation for immutable sets of size 3

    An optimized representation for immutable sets of size 3

    Annotations
    @SerialVersionUID()
  4. class Set4[A] extends AbstractSet[A] with Set[A] with Serializable

    An optimized representation for immutable sets of size 4

    An optimized representation for immutable sets of size 4

    Annotations
    @SerialVersionUID()

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]]

    The standard CanBuildFrom instance for immutable.Set objects.

  3. def empty[A]: Set[A]

    An empty collection of type Set[A]

    An empty collection of type Set[A]

    A

    the type of the set's elements

    Definition Classes
    ImmutableSetFactoryGenericCompanion
  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
    ImmutableSetFactoryGenSetFactoryGenericCompanion
  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