Packages

c

scala.collection.generic

ImmutableSetFactory

abstract class ImmutableSetFactory[CC[X] <: immutable.Set[X] with SetLike[X, CC[X]]] extends SetFactory[CC]

Source
ImmutableSetFactory.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ImmutableSetFactory
  2. SetFactory
  3. GenericSeqCompanion
  4. GenSetFactory
  5. GenericCompanion
  6. AnyRef
  7. Any
Implicitly
  1. by CollectionsHaveToParArray
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ImmutableSetFactory()

Value Members

  1. def apply[A](elems: A*): CC[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. def empty[A]: CC[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
  3. def newBuilder[A]: Builder[A, CC[A]]

    The default builder for Set objects.

    The default builder for Set objects.

    A

    the type of the set's elements

    Definition Classes
    ImmutableSetFactoryGenSetFactoryGenericCompanion
  4. def setCanBuildFrom[A]: CanBuildFrom[CC[_], A, CC[A]]

    The standard CanBuildFrom instance for Set objects.

    The standard CanBuildFrom instance for Set objects.

    Definition Classes
    GenSetFactory
  5. def toParArray: ParArray[T]
    Implicit
    This member is added by an implicit conversion from ImmutableSetFactory[CC] to CollectionsHaveToParArray[ImmutableSetFactory[CC], T] performed by method CollectionsHaveToParArray in scala.collection.parallel. This conversion will take place only if an implicit value of type (ImmutableSetFactory[CC]) ⇒ GenTraversableOnce[T] is in scope.
    Definition Classes
    CollectionsHaveToParArray