Interface Closure<T>

Type Parameters:
T - data type.

public interface Closure<T>
Closure interface.
Author:
Marek Potociar
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    invoke(T data)
    Invoke the closure on the data.
  • Method Details

    • invoke

      void invoke(T data)
      Invoke the closure on the data.
      Parameters:
      data - input data.