ParFlatHashTableIterator
Attributes
- Graph
-
- Supertypes
-
trait IterableSplitter[T]trait DelegatedSignallingtrait Signallingtrait Splitter[T]trait Iterator[T]trait IterableOnce[T]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class ParHashSetIterator
Members list
Type members
Inherited classlikes
Attributes
- Inherited from:
- IterableSplitter
- Supertypes
-
trait IterableSplitter[U]trait DelegatedSignallingtrait Signallingtrait Splitter[U]trait Iterator[U]trait IterableOnce[U]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
Attributes
- Inherited from:
- Iterator
- Supertypes
-
class Objecttrait Matchableclass AnyShow all
Attributes
- Inherited from:
- IterableSplitter
- Supertypes
-
trait IterableSplitter[S]trait DelegatedSignallingtrait Signallingtrait Splitter[S]trait Iterator[S]trait IterableOnce[S]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class RemainsIteratorMapped[S]
Attributes
- Inherited from:
- IterableSplitter
- Supertypes
-
trait IterableSplitter[T]trait DelegatedSignallingtrait Signallingtrait Splitter[T]trait Iterator[T]trait IterableOnce[T]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class RemainsIteratorTaken
Attributes
- Inherited from:
- IterableSplitter
- Supertypes
- Known subtypes
-
class RemainsIteratorZipped[S]
Attributes
- Inherited from:
- IterableSplitter
- Supertypes
- Known subtypes
-
Value members
Abstract methods
Concrete methods
Attributes
- Definition Classes
Creates a copy of this iterator.
Creates a copy of this iterator.
Attributes
The number of elements this iterator has yet to traverse. This method doesn't change the state of the iterator.
The number of elements this iterator has yet to traverse. This method doesn't change the state of the iterator.
This method is used to provide size hints to builders and combiners, and to approximate positions of iterators within a data structure.
'''Note''': This method may be implemented to return an upper bound on the number of elements in the iterator, instead of the exact number of elements to iterate. Parallel collections which have such iterators are called non-strict-splitter collections.
In that case, 2 considerations must be taken into account:
-
classes that inherit
ParIterable
must reimplement methodstake
,drop
,slice
,splitAt
,copyToArray
and all others using this information. -
if an iterator provides an upper bound on the number of elements, then after splitting the sum of
remaining
values of split iterators must be less than or equal to this upper bound.
Attributes
Splits the iterator into a sequence of disjunct views.
Splits the iterator into a sequence of disjunct views.
Returns a sequence of split iterators, each iterating over some subset of the elements in the collection. These subsets are disjoint and should be approximately equal in size. These subsets are not empty, unless the iterator is empty in which case this method returns a sequence with a single empty iterator. If the splitter has more than two elements, this method will return two or more splitters.
Implementors are advised to keep this partition relatively small - two splitters are already enough when partitioning the collection, although there may be a few more.
'''Note:''' this method actually invalidates the current splitter.
Attributes
- Returns
-
a sequence of disjunct iterators of the collection
Inherited methods
Sends an abort signal to other workers.
Sends an abort signal to other workers.
Abort flag being true means that a worker can abort and produce whatever result, since its result will not affect the final result of computation. An example of operations using this are find
, forall
and exists
methods.
Attributes
- Inherited from:
- DelegatedSignalling
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableSplitter
Attributes
- Inherited from:
- Iterator
Attributes
- Inherited from:
- IterableSplitter
Attributes
- Inherited from:
- SizeMapUtils (hidden)
Attributes
- Inherited from:
- AugmentedIterableIterator (hidden)
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- AugmentedIterableIterator (hidden)
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Definition Classes
-
AugmentedIterableIterator -> IterableOnceOps
- Inherited from:
- AugmentedIterableIterator (hidden)
Attributes
- Inherited from:
- Iterator
Drop implemented as simple eager consumption.
Drop implemented as simple eager consumption.
Attributes
- Definition Classes
- Inherited from:
- IterableSplitter
Attributes
- Inherited from:
- AugmentedIterableIterator (hidden)
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- AugmentedIterableIterator (hidden)
Attributes
- Inherited from:
- AugmentedIterableIterator (hidden)
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- AugmentedIterableIterator (hidden)
Attributes
- Definition Classes
-
AugmentedIterableIterator -> IterableOnceOps
- Inherited from:
- AugmentedIterableIterator (hidden)
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Returns the value of the index flag.
Returns the value of the index flag.
The index flag holds an integer which carries some operation-specific meaning. For instance, takeWhile
operation sets the index flag to the position of the element where the predicate fails. Other workers may check this index against the indices they are working on and return if this index is smaller than their index. Examples of operations using this are takeWhile
, dropWhile
, span
and indexOf
.
Attributes
- Returns
-
the value of the index flag
- Inherited from:
- DelegatedSignalling
Checks whether an abort signal has been issued.
Checks whether an abort signal has been issued.
Abort flag being true means that a worker can abort and produce whatever result, since its result will not affect the final result of computation. An example of operations using this are find
, forall
and exists
methods.
Attributes
- Returns
-
the state of the abort
- Inherited from:
- DelegatedSignalling
Attributes
- Definition Classes
- Inherited from:
- Iterator
For most collections, this is a cheap operation. Exceptions can override this method.
For most collections, this is a cheap operation. Exceptions can override this method.
Attributes
- Inherited from:
- RemainsIterator (hidden)
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnce
Attributes
- Definition Classes
- Inherited from:
- IterableSplitter
Attributes
- Inherited from:
- AugmentedIterableIterator (hidden)
Attributes
- Definition Classes
-
AugmentedIterableIterator -> IterableOnceOps
- Inherited from:
- AugmentedIterableIterator (hidden)
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Definition Classes
-
AugmentedIterableIterator -> IterableOnceOps
- Inherited from:
- AugmentedIterableIterator (hidden)
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- Iterator
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- AugmentedIterableIterator (hidden)
Attributes
- Inherited from:
- Iterator
Attributes
- Definition Classes
-
AugmentedIterableIterator -> IterableOnceOps
- Inherited from:
- AugmentedIterableIterator (hidden)
Attributes
- Definition Classes
-
AugmentedIterableIterator -> IterableOnceOps
- Inherited from:
- AugmentedIterableIterator (hidden)
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- AugmentedIterableIterator (hidden)
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- Iterator
Attributes
- Inherited from:
- AugmentedIterableIterator (hidden)
Attributes
- Inherited from:
- AugmentedIterableIterator (hidden)
Attributes
- Inherited from:
- AugmentedIterableIterator (hidden)
Sets the value of the index flag.
Sets the value of the index flag.
The index flag holds an integer which carries some operation-specific meaning. For instance, takeWhile
operation sets the index flag to the position of the element where the predicate fails. Other workers may check this index against the indices they are working on and return if this index is smaller than their index. Examples of operations using this are takeWhile
, dropWhile
, span
and indexOf
.
Value parameters
- f
-
the value to which the index flag is set.
Attributes
- Inherited from:
- DelegatedSignalling
Sets the value of the index flag if argument is greater than current value. This method does this atomically.
Sets the value of the index flag if argument is greater than current value. This method does this atomically.
The index flag holds an integer which carries some operation-specific meaning. For instance, takeWhile
operation sets the index flag to the position of the element where the predicate fails. Other workers may check this index against the indices they are working on and return if this index is smaller than their index. Examples of operations using this are takeWhile
, dropWhile
, span
and indexOf
.
Value parameters
- f
-
the value to which the index flag is set
Attributes
- Inherited from:
- DelegatedSignalling
Sets the value of the index flag if argument is lesser than current value. This method does this atomically.
Sets the value of the index flag if argument is lesser than current value. This method does this atomically.
The index flag holds an integer which carries some operation-specific meaning. For instance, takeWhile
operation sets the index flag to the position of the element where the predicate fails. Other workers may check this index against the indices they are working on and return if this index is smaller than their index. Examples of operations using this are takeWhile
, dropWhile
, span
and indexOf
.
Value parameters
- f
-
the value to which the index flag is set
Attributes
- Inherited from:
- DelegatedSignalling
Attributes
- Inherited from:
- IterableSplitter
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Definition Classes
- Inherited from:
- IterableSplitter
Attributes
- Inherited from:
- AugmentedIterableIterator (hidden)
Attributes
- Inherited from:
- AugmentedIterableIterator (hidden)
Attributes
- Inherited from:
- AugmentedIterableIterator (hidden)
Attributes
- Inherited from:
- IterableSplitter
Attributes
- Inherited from:
- IterableOnce
Attributes
- Definition Classes
-
AugmentedIterableIterator -> IterableOnceOps
- Inherited from:
- AugmentedIterableIterator (hidden)
A read only tag specific to the signalling object. It is used to give specific workers information on the part of the collection being operated on.
A read only tag specific to the signalling object. It is used to give specific workers information on the part of the collection being operated on.
Attributes
- Inherited from:
- DelegatedSignalling
Attributes
- Definition Classes
- Inherited from:
- IterableSplitter
Attributes
- Inherited from:
- AugmentedIterableIterator (hidden)
Attributes
- Inherited from:
- AugmentedIterableIterator (hidden)
Attributes
- Definition Classes
- Inherited from:
- Iterator
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- Iterator
Attributes
- Inherited from:
- AugmentedIterableIterator (hidden)
Attributes
- Inherited from:
- Iterator
Attributes
- Inherited from:
- AugmentedIterableIterator (hidden)
Attributes
- Inherited from:
- IterableSplitter
Attributes
- Inherited from:
- IterableSplitter
Attributes
- Inherited from:
- Iterator
Deprecated and Inherited methods
Attributes
- Deprecated
-
[Since version 2.13.0]
Use foldLeft instead of /: - Inherited from:
- IterableOnceOps
Attributes
- Deprecated
-
[Since version 2.13.0]
Use foldRight instead of :\\ - Inherited from:
- IterableOnceOps
Attributes
- Deprecated
-
[Since version 2.13.0]
For sequential collections, prefer `foldLeft(z)(seqop)`. For parallel collections, use `ParIterableLike#aggregate`. - Inherited from:
- IterableOnceOps
Attributes
- Deprecated
-
[Since version 2.13.0]
Use `dest ++= coll` instead - Inherited from:
- IterableOnceOps
Attributes
- Deprecated
-
[Since version 2.13.0]
hasDefiniteSize on Iterator is the same as isEmpty - Definition Classes
- Inherited from:
- Iterator
Attributes
- Deprecated
-
[Since version 2.13.0]
Call scanRight on an Iterable instead. - Inherited from:
- Iterator
Attributes
- Deprecated
-
[Since version 2.13.0]
Iterator.seq always returns the iterator itself - Inherited from:
- Iterator
Attributes
- Deprecated
-
[Since version 2.13.0]
Use .iterator instead of .toIterator - Inherited from:
- IterableOnceOps
Attributes
- Deprecated
-
[Since version 2.13.0]
Use .to(LazyList) instead of .toStream - Inherited from:
- IterableOnceOps
Inherited fields
A delegate that method calls are redirected to.