public static < T1 , T2 > BiFunction < T1 , T2 , Boolean > function ( BiPredicate < T1 , T2 > adaptee ) { dbc . precondition ( adaptee != null , "cannot adapt a null predicate" ) ; return adaptee :: test ; }
Adapts a binary predicate to a binary function .