public interface WithFunction
| Modifier and Type | Method and Description |
|---|---|
default <T1,T2,R> Function<T1,Function<T2,R>> |
leftApply(BiFunction<T1,T2,R> f)
Left apptly to turn a
BiFunction into a Function. |
default <T1,T2> Function<T1,Predicate<T2>> |
leftApply(BiPredicate<T1,T2> p)
Left apply to turn a
BiPredicate into a Predicate. |
default <T1,T2> Function<T2,Predicate<T1>> |
rightApply(BiPredicate<T1,T2> p)
Right apply to turn a
BiPredicate into a Predicate. |
default <T1,T2> Function<T2,Predicate<T1>> rightApply(BiPredicate<T1,T2> p)
BiPredicate into a Predicate.T1 - type of first argumentT2 - type of second argumentp - the BiPredicate to rightApply into a Predicatedefault <T1,T2> Function<T1,Predicate<T2>> leftApply(BiPredicate<T1,T2> p)
BiPredicate into a Predicate.T1 - type of first argumentT2 - type of second argumentp - the BiPredicate to leftApply into a Predicatedefault <T1,T2,R> Function<T1,Function<T2,R>> leftApply(BiFunction<T1,T2,R> f)
BiFunction into a Function.T1 - type of first argumentT2 - type of second argumentR - type of the result of the resulting functionf - fuction to perform a left apply on.Copyright © 2021. All rights reserved.