public class Parallelizer extends Object
Constructor and Description |
---|
Parallelizer() |
Modifier and Type | Method and Description |
---|---|
static void |
exec(Object[] objects,
Partible partible)
Execs Partible for each object contained in the objects array.
|
static void |
exec(Object[] objects,
Partible partible,
int numThreads)
Execs Partible for each object contained in the objects array.
|
public static void exec(Object[] objects, Partible partible)
objects
- Array of objects to be executed in parallelpartible
- Partible to be executed for each object of the arraypublic static void exec(Object[] objects, Partible partible, int numThreads)
objects
- Array of objects to be executed in parallelpartible
- Partible to be executed for each object of the arraynumThreads
- Number of threads to be launched in parallelCopyright © 2020. All rights reserved.