public class Parallel extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
Parallel.Operation<T> |
| Constructor and Description |
|---|
Parallel() |
| Modifier and Type | Method and Description |
|---|---|
static <T> Collection<Callable<Void>> |
createCallables(Iterable<T> elements,
Parallel.Operation<T> operation) |
static <T> void |
of(Iterable<T> elements,
Parallel.Operation<T> operation) |
public static <T> void of(Iterable<T> elements, Parallel.Operation<T> operation) throws InterruptedException
T - elements - operation - InterruptedExceptionpublic static <T> Collection<Callable<Void>> createCallables(Iterable<T> elements, Parallel.Operation<T> operation)
T - elements - operation - Copyright © 2019. All rights reserved.