Package com.im.commons
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
apply(T input)
Applies this callback to the giveninput
.
-
-
-
Method Detail
-
apply
void apply(T input)
Applies this callback to the giveninput
.- Parameters:
input
- the input
-
-