Seq


Description:

public Seq (Spliterator<G> spliterator, TaskEnv? env = null)

Creates a new sequential seq, optionally with a task environment.

The seq can be changed to parallel mode by Seq.parallel.

Parameters:

spliterator

a spliterator used by the seq

env

a task environment. If not specified, TaskEnv.get_common_task_env is used.