Instance Constructors From scala.collection.generic.DelegatedContext
new DelegatedContext(signalDelegate: Signalling)
(defined at scala.collection.generic.DelegatedContext)
Value Members From scala.collection.generic.DelegatedContext
var signalDelegate: Signalling
A delegate that method calls are redirected to.
Definition Classes
DelegatedContext → DelegatedSignalling
(defined at scala.collection.generic.DelegatedContext)
Value Members From scala.collection.generic.DelegatedSignalling
def setIndexFlag(f: Int): Unit
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 .
f
the value to which the index flag is set.
Definition Classes
DelegatedSignalling → Signalling
(defined at scala.collection.generic.DelegatedSignalling)
def setIndexFlagIfGreater(f: Int): Unit
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 .
f
the value to which the index flag is set
Definition Classes
DelegatedSignalling → Signalling
(defined at scala.collection.generic.DelegatedSignalling)
def setIndexFlagIfLesser(f: Int): Unit
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 .
f
the value to which the index flag is set
Definition Classes
DelegatedSignalling → Signalling
(defined at scala.collection.generic.DelegatedSignalling)
Full Source:
Interested in Scala?
I send out weekly, personalized emails with articles and conference talks.