org.mulgara.util
Interface Fn3E<T1,T2,T3,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.
R - The return type of the function.
E - The type of exception that may be thrown from the function.
All Known Subinterfaces:
Fn3<T1,T2,T3,R>

public interface Fn3E<T1,T2,T3,R,E extends Exception>

Functor template for a function that takes arguments of three different types and returns a value of a fourth type, possibly throwing an exception.

Author:
Paul Gearon

Method Summary
 R call(T1 arg1, T2 arg2, T3 arg3)
          Declares a function template that takes three arguments and returns a value of another type.
 

Method Detail

call

R call(T1 arg1,
       T2 arg2,
       T3 arg3)
       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.
Returns:
A value based on arg1, arg2 and arg3.
Throws:
E - An exception that may be thrown from this method.
E extends Exception


Copyright © 2011. All Rights Reserved.