org.mulgara.util
Interface Fn4E<T1,T2,T3,T4,R,E extends Exception>
- Type Parameters:
T1 - The type of the first parameter of the function.T2 - The type of the second parameter of the function.T3 - The type of the third parameter of the function.T4 - The type of the fourth parameter of the function.R - The return type of the function.E - The type of exception that may be thrown from the function.
- All Known Subinterfaces:
- Fn4<T1,T2,T3,T4,R>
public interface Fn4E<T1,T2,T3,T4,R,E extends Exception>
Functor template for a function that takes arguments of four different types
and returns a value of a fifth type, possibly throwing an exception.
- Author:
- Paul Gearon
|
Method Summary |
R |
call(T1 arg1,
T2 arg2,
T3 arg3,
T4 arg4)
Declares a function template that takes three arguments and returns a value of
another type. |
call
R call(T1 arg1,
T2 arg2,
T3 arg3,
T4 arg4)
throws E extends Exception
- Declares a function template that takes three arguments and returns a value of
another type.
- Parameters:
arg1 - The first argument.arg2 - The second argument.arg3 - The third argument.arg4 - The fourth argument.
- Returns:
- A value based on arg1, arg2, arg3 and arg4.
- Throws:
E - An exception that may be thrown from this method.
E extends Exception
Copyright © 2011. All Rights Reserved.