Size

scala.collection.parallel.mutable.ParTrieMap.Size
class Size(offset: Int, howmany: Int, array: Array[BasicNode]) extends Task[Int, Size]

Computes TrieMap size in parallel.

Attributes

Graph
Supertypes
trait Task[Int, Size]
class Object
trait Matchable
class Any

Members list

Type members

Inherited types

type Result = Int

Attributes

Inherited from:
Task

Value members

Concrete methods

def leaf(prev: Option[Int]): Unit

Body of the task - non-divisible unit of work done by this task. Optionally is provided with the result from the previous completed task or None if there was no previous task (or the previous task is uncompleted or unknown).

Body of the task - non-divisible unit of work done by this task. Optionally is provided with the result from the previous completed task or None if there was no previous task (or the previous task is uncompleted or unknown).

Attributes

override def merge(that: Size): Unit

Read of results of that task and merge them into results of this one.

Read of results of that task and merge them into results of this one.

Attributes

Definition Classes

Decides whether or not this task should be split further.

Decides whether or not this task should be split further.

Attributes

def split: Seq[Task[Int, Size]]

Splits this task into a list of smaller tasks.

Splits this task into a list of smaller tasks.

Attributes

Inherited methods

Attributes

Inherited from:
Task
def repr: Size

Attributes

Inherited from:
Task

Concrete fields

var result: Int

A result that can be accessed once the task is completed.

A result that can be accessed once the task is completed.

Attributes

Inherited fields

Attributes

Inherited from:
Task