TParameter- The type of an instance that is passed to the body of the loop.
@FunctionalInterface public static interface ThreadedCalculation.BodyCallbackWithProgress.Function<TParameter>
|Modifier and Type||Method and Description|
A delegate representing the body of a multithreaded 'for' loop, where each iteration of the loop intends to provide detailed information about its progress.
void invoke(TParameter parameter, int i, @Nullable ITrackCalculationProgress tracker)
ThreadingPolicywith only one thread unless it is explicitly set inside the callback.
parameter- A parameter that is passed to the body of the loop. If this instance implements
false, a copy of the parameter is made for each thread using
i- The index to evaluate.
tracker- The object to which progress is reported and that is able to cancel this operation before it is complete, or