public static < T , U , R > Optional < R > biFunctionIfTrue ( boolean bool , T target1 , U target2 , BiFunction < T , U , R > biFunction ) { return supplierIfTrue ( bool , ( ) -> biFunction . apply ( target1 , target2 ) ) ; }
Bi function if true optional .