Package com.iizix

Interface GenericCallback<RESULT,PARAM>

Type Parameters:
RESULT - The result, Void (return code null) for none.
PARAM - The parameter type, any Object.
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface GenericCallback<RESULT,PARAM>
Generic callback functional interface with a single parameter.
Author:
Christopher Mindus
  • Method Summary

    Modifier and Type
    Method
    Description
    Receives the callback notification.
  • Method Details

    • onCallback

      RESULT onCallback(PARAM param)
      Receives the callback notification.
      Parameters:
      param - The parameter.
      Returns:
      The RESULT of the callback.