converts a func3 to a funcn to allow heterogeneous handling of functions with different arities . concode_field_sep PlaceHolder placeHolder concode_field_sep FuncN<Void> fromAction concode_elem_sep FuncN<Void> fromAction concode_elem_sep FuncN<Void> fromAction concode_elem_sep FuncN<Void> fromAction
FuncN < R > function ( final Func3 < ? super T0 , ? super T1 , ? super T2 , ? extends R > arg0 ) { return new FuncN < R > ( ) { @ SuppressWarnings ( "srini_string" ) @ Override public R call ( Object ... arg1 ) { if ( arg1 . length != 3 ) { throw new RuntimeException ( "srini_string" ) ; } return arg0 . call ( ( T0 ) arg1 [ 0 ] , ( T1 ) arg1 [ 1 ] , ( T2 ) arg1 [ 2 ] ) ; } } ; }