Class ProcedureFJTask<T,BT extends Procedure<? super T>>

java.lang.Object
org.eclipse.collections.impl.parallel.ProcedureFJTask<T,BT>
All Implemented Interfaces:
Runnable

public final class ProcedureFJTask<T,BT extends Procedure<? super T>> extends Object implements Runnable
  • Constructor Details

    • ProcedureFJTask

      public ProcedureFJTask(ProcedureFJTaskRunner<T,BT> newFJTaskRunner, ProcedureFactory<BT> newProcedureFactory, List<T> list, int index, int sectionSize, boolean isLast)
      Creates an array of ProcedureFJTasks wrapping Procedures created by the specified ProcedureFactory.
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • getProcedure

      public BT getProcedure()