Package com.iizix
Interface GenericCallback<RESULT,PARAM>
- Type Parameters:
RESULT
- The result,Void
(return codenull
) 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.
Generic callback functional interface with a single parameter.
- Author:
- Christopher Mindus
Method Summary
Method Details
onCallback
Receives the callback notification.- Parameters:
param
- The parameter.- Returns:
- The
RESULT
of the callback.