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