T1
- the type of the parameter of the encapsulated method.TRes
- the type of the return value of the encapsulated method.TException
- the type of exception that might be thrown.public interface Func1<T1,TRes,TException extends Exception>
Modifier and Type | Method and Description |
---|---|
TRes |
invoke(T1 arg1)
Invokes the method with the given parameter.
|
TRes invoke(T1 arg1) throws TException extends Exception
arg1
- the parameter of the method.TException
- the exception the encapsulated method might throw.TException extends Exception