Package com.tapkey.mobile.utils
Interface Action2<TArg1,TArg2,TException extends Exception>
-
- Type Parameters:
TException
- the type of exception that might be thrown.
public interface Action2<TArg1,TArg2,TException extends Exception>
Encapsulates a method that has two parameters and does not return a value, but might throw an exception.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
invoke(TArg1 arg1, TArg2 arg2)
Invokes the action with the given parameters.
-
-
-
Method Detail
-
invoke
void invoke(TArg1 arg1, TArg2 arg2) throws TException extends Exception
Invokes the action with the given parameters.- Parameters:
arg1
- the first parameter given to the encapsulated method.arg2
- the second parameter given to the encapsulated method.- Throws:
TException
- the exception the encapsulated method might throw.TException extends Exception
-
-