Interface Callback<T>

  • Type Parameters:
    T - input value of the callback

    public interface Callback<T>
    Receives and process input value. Handy where Function<T, Void> would be used.
    • Method Detail

      • apply

        void apply​(T input)
        Applies this callback to the given input.
        Parameters:
        input - the input