public static < T1 , T2 , T3 , T4 , R > TriFunction < T1 , T2 , T3 , R > compose ( Function < T4 , R > unary , TriFunction < T1 , T2 , T3 , T4 > ternary ) { dbc . precondition ( unary != null , "cannot compose a null unary function" ) ; dbc . precondition ( ternary != null , "cannot compose a null ternary function" ) ; return ternary . andThen ( unary ) ; }
Composes a function with a ternary function .