public static < T1 , T2 , T3 > Function < T1 , T3 > comp ( final Function < T2 , T3 > func1 , final Function < T1 , T2 > func2 ) { return new Function < T1 , T3 > ( ) { public T3 f ( T1 x ) { return func1 . f ( func2 . f ( x ) ) ; } } ; }
Computes the composition of two functions .