public class Parallel
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
Parallel.RunnableRange<T> |
static class |
Parallel.RunnableRangeThread<T>
An interface that is implemented by users to loop over a partial array.
|
Modifier and Type | Method and Description |
---|---|
static <T> java.util.Vector<T> |
forEach(int size,
Parallel.RunnableRange<T> r) |
static void |
main(java.lang.String[] args) |
public static <T> java.util.Vector<T> forEach(int size, Parallel.RunnableRange<T> r)
public static void main(java.lang.String[] args) throws java.lang.InterruptedException
args
- java.lang.InterruptedException