Class FJListObjectIntProcedureTask<T,PT extends ObjectIntProcedure<? super T>>
java.lang.Object
java.util.concurrent.ForkJoinTask<PT>
org.eclipse.collections.impl.forkjoin.FJListObjectIntProcedureTask<T,PT>
- All Implemented Interfaces:
Serializable
,Future<PT>
public class FJListObjectIntProcedureTask<T,PT extends ObjectIntProcedure<? super T>>
extends ForkJoinTask<PT>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.concurrent.Future
Future.State
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
private PT
private final ObjectIntProcedureFactory
<PT> private final int
private final FJListObjectIntProcedureRunner
<T, PT> -
Constructor Summary
ConstructorsConstructorDescriptionFJListObjectIntProcedureTask
(FJListObjectIntProcedureRunner<T, PT> newFJTaskRunner, ObjectIntProcedureFactory<PT> newBlockFactory, List<T> list, int index, int sectionSize, boolean isLast) Creates an array of VoidBlockFJTasks wrapping VoidBlocks created by the specified VoidBlockFactory. -
Method Summary
Methods inherited from class java.util.concurrent.ForkJoinTask
adapt, adapt, adapt, adaptInterruptible, cancel, compareAndSetForkJoinTaskTag, complete, completeExceptionally, exceptionNow, 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, quietlyJoin, quietlyJoinUninterruptibly, reinitialize, resultNow, setForkJoinTaskTag, state, tryUnfork
-
Field Details
-
procedureFactory
-
procedure
-
list
-
start
private final int start -
end
private final int end -
taskRunner
-
-
Constructor Details
-
FJListObjectIntProcedureTask
public FJListObjectIntProcedureTask(FJListObjectIntProcedureRunner<T, PT> newFJTaskRunner, ObjectIntProcedureFactory<PT> newBlockFactory, List<T> list, int index, int sectionSize, boolean isLast) Creates an array of VoidBlockFJTasks wrapping VoidBlocks created by the specified VoidBlockFactory.
-
-
Method Details
-
exec
protected boolean exec()- Specified by:
exec
in classForkJoinTask<PT extends ObjectIntProcedure<? super T>>
-
getRawResult
- Specified by:
getRawResult
in classForkJoinTask<PT extends ObjectIntProcedure<? super T>>
-
setRawResult
- Specified by:
setRawResult
in classForkJoinTask<PT extends ObjectIntProcedure<? super T>>
-