|
package swensen.functional;
/**
* A generic functor for non-void functions with five parameters.
* @author Stephen Swensen
* @param <T1> the type of the first parameter of call
* @param <T2> the type of the second parameter of call
* @param <T3> the type of the third parameter of call
* @param <T4> the type of the fourth parameter of call
* @param <T5> the type of the fifth parameter of call
* @param <T6> the type of the sixth parameter of call
* @param <T7> the type of the seventh parameter of call
* @param <R> the return type of call
*/
public interface Func7<T1,T2,T3,T4,T5,T6,T7,R> {
/**
* Invoke this functor synchronously.
* @param t1 the first parameter
* @param t2 the second parameter
* @param t3 the third parameter
* @param t4 the fourth parameter
* @param t5 the fifth parameter
* @param t6 the sixth parameter
* @param t7 the seventh parameter
* @return the return value
*/
public R call(T1 t1, T2 t2, T3 t3, T4 t4, T5 t5, T6 t6, T7 t7);
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I'm developing Unquote, a library for writing unit test assertions as F# quoted expressions: http://code.google.com/p/unquote/
I am working through Project Euler with F#: http://projecteulerfun.blogspot.com/
I participate in Stack Overflow: http://stackoverflow.com/users/236255/stephen-swensen