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 Future
Future.State -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate PTprivate final ObjectIntProcedureFactory<PT> private final intprivate 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 ForkJoinTask
adapt, adapt, adapt, adaptInterruptible, adaptInterruptible, 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
private final FJListObjectIntProcedureRunner<T, PT extends ObjectIntProcedure<? super T>> 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:
execin classForkJoinTask<PT extends ObjectIntProcedure<? super T>>
-
getRawResult
- Specified by:
getRawResultin classForkJoinTask<PT extends ObjectIntProcedure<? super T>>
-
setRawResult
- Specified by:
setRawResultin classForkJoinTask<PT extends ObjectIntProcedure<? super T>>
-