Scala Library: scala.collection.generic.SetFactory
scala.collection.generic.SetFactory
Type Members
type Coll = CC[_]
The underlying collection type with unknown element type
- Attributes
- protected[this]
- Definition Classes
- GenericCompanion
Abstract Value Members From scala.collection.generic.GenSetFactory
abstract def newBuilder[A]: Builder[A, CC[A]]
The default builder for Set
objects.
- A
- the type of the set’s elements
- Definition Classes
- GenSetFactory → GenericCompanion
(defined at scala.collection.generic.GenSetFactory)
Concrete Value Members From scala.collection.generic.GenSetFactory
def setCanBuildFrom[A]: CanBuildFrom[CC[_], A, CC[A]]
The standard CanBuildFrom
instance for Set
objects.
- Definition Classes
- GenSetFactory
(defined at scala.collection.generic.GenSetFactory)
Concrete Value Members From scala.collection.generic.GenericCompanion
def apply[A](elems: A*): CC[A]
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
- a new collection with elements
- Definition Classes
- GenericCompanion
(defined at scala.collection.generic.GenericCompanion)
Instance Constructors From scala.collection.generic.SetFactory
new SetFactory()
(defined at scala.collection.generic.SetFactory)
Concrete Value Members From Implicit scala.collection.parallel.CollectionsHaveToParArray ——————————————————————————–
def toParArray: ParArray[T]
- Implicit information
- This member is added by an implicit conversion from SetFactory [CC] to CollectionsHaveToParArray [SetFactory [CC], T] performed by method CollectionsHaveToParArray in scala.collection.parallel. This conversion will take place only if an implicit value of type (SetFactory [CC]) ⇒ GenTraversableOnce [T] is in scope.
- Definition Classes
- CollectionsHaveToParArray (added by implicit convertion: scala.collection.parallel.CollectionsHaveToParArray)
Full Source:
Interested in Scala?
I send out weekly, personalized emails with articles and conference talks.
Subscribe now.