Class RangeTask

All Implemented Interfaces:
Serializable, Future<Void>

public class RangeTask extends CountedCompleter<Void>
A fork-join task that processes a range of integers from lo to hi (exclusive) in chunks of up to chunkSize.

Usage:

 RangeTask.forEach(0,1000,10,(lo,hi)->{for(int i=lo;i<hi;i++) {....};});
 
See Also: