Interface ForTask


public interface ForTask
Interface for a `for loop` task.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    run(int id, int start, int end)
    Run the task.
    void
    run(int id, int start, int end, Variables variables)
    Run the task.
  • Method Details

    • run

      void run(int id, int start, int end, Variables variables)
      Run the task.
      Parameters:
      id - The thread ID.
      start - The start index.
      end - The end index.
      variables - The variables to use in the task.
    • run

      default void run(int id, int start, int end)
      Run the task.
      Parameters:
      id - The thread ID.
      start - The start index.
      end - The end index.