Package pabeles.concurrency
Class IntOperatorTask.Max
java.lang.Object
java.util.concurrent.ForkJoinTask<Number>
pabeles.concurrency.IntOperatorTask
pabeles.concurrency.IntOperatorTask.Max
- All Implemented Interfaces:
Serializable,Future<Number>
- Enclosing class:
- IntOperatorTask
public static class IntOperatorTask.Max 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 Max(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
-
Max
-
-
Method Details
-
newInstance
protected IntOperatorTask newInstance(int value, int max, Class primitiveType, IntProducerNumber consumer)- Specified by:
newInstancein classIntOperatorTask
-
operator
- Specified by:
operatorin classIntOperatorTask
-