T - type of the input parameter.public interface IMethod1<T>
| Modifier and Type | Method and Description |
|---|---|
void |
invoke(T t)
Callback method.
|
void invoke(T t) throws java.lang.Exception
t - input parameter passing to the callback method.java.lang.Exception - Implementation of the method is allowed to throw an exception.