invokeAll


Description:

public ArrayList<Future<T>> invokeAll<T> (ArrayList<ThreadPoolTaskFunc<T>> tasks)

Submits all tasks and returns futures in the same order.

Parameters:

tasks

wrapped tasks to submit.

Returns:

list of pending futures.