T1
- component type of the 1st Functor
T2
- component type of the 2nd Functor
public interface BiFunctor<T1,T2>
Functor
s.Modifier and Type | Method and Description |
---|---|
<U1,U2> BiFunctor<U1,U2> |
bimap(Function<? super T1,? extends U1> f1,
Function<? super T2,? extends U2> f2)
Applies two functions
f1 , f2 to the components of this BiFunctor. |
<U1,U2> BiFunctor<U1,U2> bimap(Function<? super T1,? extends U1> f1, Function<? super T2,? extends U2> f2)
f1
, f2
to the components of this BiFunctor.U1
- 1st component type of the resulting BiFunctorU2
- 2nd component type of the resulting BiFunctorf1
- mapper of 1st componentf2
- mapper of 2nd componentNullPointerException
- if f1
or f2
is nullCopyright © 2016. All Rights Reserved.