Interface Callback<P,R>
-
- Type Parameters:
P
- the type of the callback parameterR
- the type of the callback result
public interface Callback<P,R>
Represents a callback which should be called after work was done. This interface is similar to theCallable
interface, with the exception that the callback method does not throw any catching exception. Without this restriction the caller does not have to catch any exception.- Author:
- Christopher Zell
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description R
callback(P param)
The callback which should be called/executed after work was done.
-