Interface Task<T>

Type Parameters:
T - type of the parameter of the execute method

public interface Task<T>
a task that can be execute with a parameter (similar to a command in the command-pattern).
Author:
durkham
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute​(T object)
    execute the task.
  • Method Details

    • execute

      void execute(T object)
      execute the task.
      Parameters:
      object - a parameter used by the type