Package pabeles.concurrency
Class IntOperatorTask.Sum
java.lang.Object
java.util.concurrent.ForkJoinTask<Number>
pabeles.concurrency.IntOperatorTask
pabeles.concurrency.IntOperatorTask.Sum
- All Implemented Interfaces:
Serializable,Future<Number>
- Enclosing class:
- IntOperatorTask
public static class IntOperatorTask.Sum extends IntOperatorTask
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class pabeles.concurrency.IntOperatorTask
IntOperatorTask.Max, IntOperatorTask.Min, IntOperatorTask.Sum -
Constructor Summary
Constructors Constructor Description Sum(int value, int max, Class primitiveType, IntProducerNumber consumer) -
Method Summary
Modifier and Type Method Description protected IntOperatorTasknewInstance(int value, int max, Class primitiveType, IntProducerNumber consumer)protected voidoperator(Number next)Methods inherited from class pabeles.concurrency.IntOperatorTask
exec, getRawResult, setRawResultMethods inherited from class java.util.concurrent.ForkJoinTask
adapt, adapt, adapt, cancel, compareAndSetForkJoinTaskTag, complete, 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
-
Constructor Details
-
Sum
-
-
Method Details
-
newInstance
protected IntOperatorTask newInstance(int value, int max, Class primitiveType, IntProducerNumber consumer)- Specified by:
newInstancein classIntOperatorTask
-
operator
- Specified by:
operatorin classIntOperatorTask
-