Package com.complexible.common.stream
Class ForEachIntTask
- java.lang.Object
-
- java.util.concurrent.ForkJoinTask<T>
-
- java.util.concurrent.CountedCompleter<java.lang.Void>
-
- com.complexible.common.stream.ForEachIntTask
-
- All Implemented Interfaces:
java.io.Serializable
,java.util.concurrent.Future<java.lang.Void>
public final class ForEachIntTask extends java.util.concurrent.CountedCompleter<java.lang.Void>
AForkJoinTask
for performing a parallel for-each operation;- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ForEachIntTask(java.util.Spliterator.OfInt theSpliterator, java.util.function.BooleanSupplier theCancellationFlag, java.util.function.IntConsumer theConsumer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
compute()
-
Methods inherited from class java.util.concurrent.CountedCompleter
addToPendingCount, compareAndSetPendingCount, complete, decrementPendingCountUnlessZero, exec, firstComplete, getCompleter, getPendingCount, getRawResult, getRoot, helpComplete, nextComplete, onCompletion, onExceptionalCompletion, propagateCompletion, quietlyCompleteRoot, setPendingCount, setRawResult, tryComplete
-
Methods inherited from class java.util.concurrent.ForkJoinTask
adapt, adapt, adapt, cancel, compareAndSetForkJoinTaskTag, completeExceptionally, fork, get, get, getException, getForkJoinTaskTag, getPool, getQueuedTaskCount, getSurplusQueuedTaskCount, helpQuiesce, inForkJoinPool, invoke, invokeAll, invokeAll, invokeAll, isCancelled, isCompletedAbnormally, isCompletedNormally, isDone, join, peekNextLocalTask, pollNextLocalTask, pollSubmission, pollTask, quietlyComplete, quietlyInvoke, quietlyJoin, reinitialize, setForkJoinTaskTag, tryUnfork
-
-