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.

    public interface GenericCallback<RESULT,​PARAM>
    Generic callback functional interface with a single parameter.
    Christopher Mindus
    • Method Detail

      • onCallback

        RESULT onCallback​(PARAM param)
        Receives the callback notification.
        param - The parameter.
        The RESULT of the callback.