Packages

c

scala.collection.generic

GenSetFactory

abstract class GenSetFactory[CC[X] <: GenSet[X] with GenSetLike[X, CC[X]]] extends GenericCompanion[CC]

A template for companion objects of Set and subclasses thereof.

Source
GenSetFactory.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GenSetFactory
  2. GenericCompanion
  3. AnyRef
  4. 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 GenSetFactory()

Abstract Value Members

  1. abstract 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
    GenSetFactoryGenericCompanion

Concrete 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 CC[A]

    An empty collection of type CC[A]

    A

    the type of the collection's elements

    Definition Classes
    GenericCompanion
  3. def setCanBuildFrom[A]: CanBuildFrom[CC[_], A, CC[A]]

    The standard CanBuildFrom instance for Set objects.

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