implicit final class ImmutableHashSetIsParallelizable[T] extends AnyVal with CustomParallelizable[T, ParHashSet[T]]
- Alphabetic
- By Inheritance
- ImmutableHashSetIsParallelizable
- CustomParallelizable
- Parallelizable
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ImmutableHashSetIsParallelizable(coll: HashSet[T])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
par: ParHashSet[T]
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
- ImmutableHashSetIsParallelizable → CustomParallelizable → Parallelizable
-
def
parCombiner: Combiner[T, ParHashSet[T]]
The default
par
implementation uses the combiner provided by this method to create a new parallel collection.The default
par
implementation uses the combiner provided by this method to create a new parallel collection.- returns
a combiner for the parallel collection of type
ParRepr
- Attributes
- protected[this]
- Definition Classes
- CustomParallelizable → Parallelizable
-
def
seq: HashSet[T]
- Definition Classes
- ImmutableHashSetIsParallelizable → Parallelizable
-
def
toString(): String
- Definition Classes
- Any