| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final List | |
| private PT | |
| private final ObjectIntProcedureFactory | |
| private final int | |
| private final FJListObjectIntProcedureRunner |
| Access | Constructor and Description |
|---|---|
| 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. |
| Modifier and Type | Method and Description |
|---|---|
| protected boolean | exec()
Implements abstract java. Immediately performs the base action of this task and returns true if, upon return from this method, this task is guaranteed to have completed. |
| public PT | getRawResult()
Implements abstract java. Returns the result that would be returned by |
| protected void | setRawResult(PT value)
Implements abstract java. Forces the given value to be returned as a result. |
| end | back to summary |
|---|---|
| private final int end | |
| list | back to summary |
|---|---|
| private final List<T> list | |
| procedure | back to summary |
|---|---|
| private PT procedure | |
| procedureFactory | back to summary |
|---|---|
| private final ObjectIntProcedureFactory<PT> procedureFactory | |
| start | back to summary |
|---|---|
| private final int start | |
| taskRunner | back to summary |
|---|---|
| private final FJListObjectIntProcedureRunner<T, PT> taskRunner | |
| FJListObjectIntProcedureTask | back to summary |
|---|---|
| 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. | |
| exec | back to summary |
|---|---|
| protected boolean exec() Implements abstract java. Doc from java. Immediately performs the base action of this task and returns true if, upon return from this method, this task is guaranteed to have completed. This method may return false otherwise, to indicate that this task is not necessarily complete (or is not known to be complete), for example in asynchronous actions that require explicit invocations of completion methods. This method may also throw an (unchecked) exception to indicate abnormal exit. This method is designed to support extensions, and should not in general be called otherwise.
| |
| getRawResult | back to summary |
|---|---|
| public PT getRawResult() Implements abstract java. Doc from java. Returns the result that would be returned by
| |
| setRawResult | back to summary |
|---|---|
| protected void setRawResult(PT value) Implements abstract java. Doc from java. Forces the given value to be returned as a result. This method is designed to support extensions, and should not in general be called otherwise.
| |