public static < T1 , T2 , T3 > BiPredicate < T2 , T3 > curry ( TriPredicate < T1 , T2 , T3 > predicate , T1 first ) { dbc . precondition ( predicate != null , "cannot bind parameter of a null predicate" ) ; return ( second , third ) -> predicate . test ( first , second , third ) ; }
Partial application of the first parameter to a ternary predicate .