implicit final class MutableSetIsParallelizable[A] extends AnyVal with CustomParallelizable[A, mutable.ParSet[A]]
- Alphabetic
- By Inheritance
- MutableSetIsParallelizable
- CustomParallelizable
- Parallelizable
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new MutableSetIsParallelizable(coll: mutable.Set[A])
Value Members
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- def par: mutable.ParSet[A]
Returns a parallel implementation of this collection.
Returns a parallel implementation of this collection.
For most collection types, this method creates a new parallel collection by copying all the elements. For these collection,
par
takes linear time. Mutable collections in this category do not produce a mutable parallel collection that has the same underlying dataset, so changes in one collection will not be reflected in the other one.Specific collections (e.g.
ParArray
ormutable.ParHashMap
) override this default behaviour by creating a parallel collection which shares the same underlying dataset. For these collections,par
takes constant or sublinear time.All parallel collections return a reference to themselves.
- returns
a parallel implementation of this collection
- Definition Classes
- MutableSetIsParallelizable → CustomParallelizable → Parallelizable
- def seq: mutable.Set[A]
- Definition Classes
- MutableSetIsParallelizable → Parallelizable