public interface ParallelRunnable
Modifier and Type | Method and Description |
---|---|
int |
getLength()
Get the length of the whole set to be run in parallel.
|
Runnable |
getRunnable(int startValue,
int length)
Get the Runnable object for the specified stride.
|
int getLength()
Runnable getRunnable(int startValue, int length)
startValue
- The starting value for the stride.length
- The length of the stride.