Package dev.nm.misc.parallel
Interface IterationBody<T>
-
- Type Parameters:
T
- the task input type
public interface IterationBody<T>
This interface defines the code snippet to be run in parallel.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
run(T item)
Execute a (parallel) task.
-
-
-
Method Detail
-
run
void run(T item)
Execute a (parallel) task.- Parameters:
item
- the task input
-
-