of_generic_array
Description:
Creates a new sequential seq of the given generic array.
The given generic array itself will not be modified by seq operations. and the array must not be modified until the execution of the seq pipeline is completed. Except for the non-eager operations iterator() and spliterator(), execution is performed when the terminal operation is invoked. In case of the non-eager operations, the array must not be modified while the iterator/spliterator is used.
Parameters:
array |
a generic array |
env |
a task environment. If not specified, TaskEnv.get_common_task_env is used. |
Returns:
the result seq |