F
- The container type.Mu
- The witness type of this applicative functor.public interface Applicative<F extends K1,Mu extends Applicative _> extends Functor F
In order to be a lawful applicative functor, the implementations of ap(App, App)
and
point(Object)
must satisfy the following requirements (==
represents logical equality and not
reference equality).
ap(point(Function.identity()), fa) = fa
- Applying with the identity function yields the input
(this is related to the first functor law).
ap(point(f), point(a)) = point(f(a))
- Applying a wrapped function to a wrapped value is equivalent
to wrapping the result of applying the function to the value.
ap(ff, point(a)) = ap(point(f -> f(a)), ff)
- Wrapping a value before applying a function is
equivalent to wrapping the resulting value after applying the function.
ap(ff, ap(fg, fa)) = ap(ap(ap(point(f -> f::compose), ff), fg), fa)
- Composing applications is
equivalent to applying compositions (this is related to the second functor law).
These laws may be made more intuitive my replacing ap(ff, fa)
with the expression ff[fa]
,
analogous to normal function application f(a)
.
point(Function.identity())[fa] = fa
point(f)[point(a)] = point(f(a))
ff[point(a)] = point(f -> f(a))[ff]
ff[fg[fa]] = point(f -> f::compose)[ff][fg][fa]
In fact, the implementation of Functor.map(Function, App)
can be written in terms of ap(App, App)
and point(Object)
as map(f, fa) = ap(point(f), fa)
. This interface leaves that method abstract
because of the differing function types in Functor.map(Function, App)
and ap(App, App)
that make
the default implementation outline above impossible without an unchecked (albeit safe) cast.
Functor
,
Applicative LawsModifier and Type | Method and Description |
---|---|
default <A,R> F<R> |
ap(F<(A) -> R> func,
F<A> arg)
Maps the contents of
arg from A to R using a wrapped transformation function. |
default <A,R> F<R> |
ap((A) -> R func,
F<A> arg)
Maps the contents of
arg from A to R using the func . |
default <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,R> |
ap10(F<(T1,T2,T3,T4,T5,T6,T7,T8,T9,T10) -> R> func,
F<T1> t1,
F<T2> t2,
F<T3> t3,
F<T4> t4,
F<T5> t5,
F<T6> t6,
F<T7> t7,
F<T8> t8,
F<T9> t9,
F<T10> t10)
Maps the contents of the input containers to a container of
R using a wrapped Function10 . |
default <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,R> |
ap11(F<(T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11) -> R> func,
F<T1> t1,
F<T2> t2,
F<T3> t3,
F<T4> t4,
F<T5> t5,
F<T6> t6,
F<T7> t7,
F<T8> t8,
F<T9> t9,
F<T10> t10,
F<T11> t11)
Maps the contents of the input containers to a container of
R using a wrapped Function11 . |
default <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,R> |
ap12(F<(T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12) -> R> func,
F<T1> t1,
F<T2> t2,
F<T3> t3,
F<T4> t4,
F<T5> t5,
F<T6> t6,
F<T7> t7,
F<T8> t8,
F<T9> t9,
F<T10> t10,
F<T11> t11,
F<T12> t12)
Maps the contents of the input containers to a container of
R using a wrapped Function12 . |
default <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,R> |
ap13(F<(T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13) -> R> func,
F<T1> t1,
F<T2> t2,
F<T3> t3,
F<T4> t4,
F<T5> t5,
F<T6> t6,
F<T7> t7,
F<T8> t8,
F<T9> t9,
F<T10> t10,
F<T11> t11,
F<T12> t12,
F<T13> t13)
Maps the contents of the input containers to a container of
R using a wrapped Function13 . |
default <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,R> |
ap14(F<(T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14) -> R> func,
F<T1> t1,
F<T2> t2,
F<T3> t3,
F<T4> t4,
F<T5> t5,
F<T6> t6,
F<T7> t7,
F<T8> t8,
F<T9> t9,
F<T10> t10,
F<T11> t11,
F<T12> t12,
F<T13> t13,
F<T14> t14)
Maps the contents of the input containers to a container of
R using a wrapped Function14 . |
default <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,R> |
ap15(F<(T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15) -> R> func,
F<T1> t1,
F<T2> t2,
F<T3> t3,
F<T4> t4,
F<T5> t5,
F<T6> t6,
F<T7> t7,
F<T8> t8,
F<T9> t9,
F<T10> t10,
F<T11> t11,
F<T12> t12,
F<T13> t13,
F<T14> t14,
F<T15> t15)
Maps the contents of the input containers to a container of
R using a wrapped Function15 . |
default <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,R> |
ap16(F<(T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16) -> R> func,
F<T1> t1,
F<T2> t2,
F<T3> t3,
F<T4> t4,
F<T5> t5,
F<T6> t6,
F<T7> t7,
F<T8> t8,
F<T9> t9,
F<T10> t10,
F<T11> t11,
F<T12> t12,
F<T13> t13,
F<T14> t14,
F<T15> t15,
F<T16> t16)
Maps the contents of the input containers to a container of
R using a wrapped Function16 . |
default <A,B,R> F<R> |
ap2(F<(A,B) -> R> func,
F<A> a,
F<B> b)
|
default <T1,T2,T3,R> |
ap3(F<(T1,T2,T3) -> R> func,
F<T1> t1,
F<T2> t2,
F<T3> t3)
Maps the contents of the input containers to a container of
R using a wrapped Function3 . |
default <T1,T2,T3,T4,R> |
ap4(F<(T1,T2,T3,T4) -> R> func,
F<T1> t1,
F<T2> t2,
F<T3> t3,
F<T4> t4)
Maps the contents of the input containers to a container of
R using a wrapped Function4 . |
default <T1,T2,T3,T4,T5,R> |
ap5(F<(T1,T2,T3,T4,T5) -> R> func,
F<T1> t1,
F<T2> t2,
F<T3> t3,
F<T4> t4,
F<T5> t5)
Maps the contents of the input containers to a container of
R using a wrapped Function5 . |
default <T1,T2,T3,T4,T5,T6,R> |
ap6(F<(T1,T2,T3,T4,T5,T6) -> R> func,
F<T1> t1,
F<T2> t2,
F<T3> t3,
F<T4> t4,
F<T5> t5,
F<T6> t6)
Maps the contents of the input containers to a container of
R using a wrapped Function6 . |
default <T1,T2,T3,T4,T5,T6,T7,R> |
ap7(F<(T1,T2,T3,T4,T5,T6,T7) -> R> func,
F<T1> t1,
F<T2> t2,
F<T3> t3,
F<T4> t4,
F<T5> t5,
F<T6> t6,
F<T7> t7)
Maps the contents of the input containers to a container of
R using a wrapped Function7 . |
default <T1,T2,T3,T4,T5,T6,T7,T8,R> |
ap8(F<(T1,T2,T3,T4,T5,T6,T7,T8) -> R> func,
F<T1> t1,
F<T2> t2,
F<T3> t3,
F<T4> t4,
F<T5> t5,
F<T6> t6,
F<T7> t7,
F<T8> t8)
Maps the contents of the input containers to a container of
R using a wrapped Function8 . |
default <T1,T2,T3,T4,T5,T6,T7,T8,T9,R> |
ap9(F<(T1,T2,T3,T4,T5,T6,T7,T8,T9) -> R> func,
F<T1> t1,
F<T2> t2,
F<T3> t3,
F<T4> t4,
F<T5> t5,
F<T6> t6,
F<T7> t7,
F<T8> t8,
F<T9> t9)
Maps the contents of the input containers to a container of
R using a wrapped Function9 . |
default <A,B,R> F<R> |
apply2((A,B) -> R func,
F<A> a,
F<B> b)
Maps the contents of the input containers to a container of
R using a BiFunction . |
default <T1,T2,T3,R> |
apply3((T1,T2,T3) -> R func,
F<T1> t1,
F<T2> t2,
F<T3> t3)
Maps the contents of the input containers to a container of
R using a Function3 . |
default <T1,T2,T3,T4,R> |
apply4((T1,T2,T3,T4) -> R func,
F<T1> t1,
F<T2> t2,
F<T3> t3,
F<T4> t4)
Maps the contents of the input containers to a container of
R using a Function4 . |
default <T1,T2,T3,T4,T5,R> |
apply5((T1,T2,T3,T4,T5) -> R func,
F<T1> t1,
F<T2> t2,
F<T3> t3,
F<T4> t4,
F<T5> t5)
Maps the contents of the input containers to a container of
R using a Function5 . |
default <T1,T2,T3,T4,T5,T6,R> |
apply6((T1,T2,T3,T4,T5,T6) -> R func,
F<T1> t1,
F<T2> t2,
F<T3> t3,
F<T4> t4,
F<T5> t5,
F<T6> t6)
Maps the contents of the input containers to a container of
R using a Function6 . |
default <T1,T2,T3,T4,T5,T6,T7,R> |
apply7((T1,T2,T3,T4,T5,T6,T7) -> R func,
F<T1> t1,
F<T2> t2,
F<T3> t3,
F<T4> t4,
F<T5> t5,
F<T6> t6,
F<T7> t7)
Maps the contents of the input containers to a container of
R using a Function7 . |
default <T1,T2,T3,T4,T5,T6,T7,T8,R> |
apply8((T1,T2,T3,T4,T5,T6,T7,T8) -> R func,
F<T1> t1,
F<T2> t2,
F<T3> t3,
F<T4> t4,
F<T5> t5,
F<T6> t6,
F<T7> t7,
F<T8> t8)
Maps the contents of the input containers to a container of
R using a Function8 . |
default <T1,T2,T3,T4,T5,T6,T7,T8,T9,R> |
apply9((T1,T2,T3,T4,T5,T6,T7,T8,T9) -> R func,
F<T1> t1,
F<T2> t2,
F<T3> t3,
F<T4> t4,
F<T5> t5,
F<T6> t6,
F<T7> t7,
F<T8> t8,
F<T9> t9)
Maps the contents of the input containers to a container of
R using a Function9 . |
<A,R> (F<A>) -> F<R> |
lift1(F<(A) -> R> function)
Lifts a wrapped transformation function into a function between containers.
|
default <A,B,R> (F<A>,F<B>) -> F<R> |
lift2(F<(A,B) -> R> function)
Lifts a wrapped
BiFunction into a BiFunction between containers. |
default <T1,T2,T3,R> |
lift3(F<(T1,T2,T3) -> R> function)
|
default <T1,T2,T3,T4,R> |
lift4(F<(T1,T2,T3,T4) -> R> function)
|
default <T1,T2,T3,T4,T5,R> |
lift5(F<(T1,T2,T3,T4,T5) -> R> function)
|
default <T1,T2,T3,T4,T5,T6,R> |
lift6(F<(T1,T2,T3,T4,T5,T6) -> R> function)
|
default <T1,T2,T3,T4,T5,T6,T7,R> |
lift7(F<(T1,T2,T3,T4,T5,T6,T7) -> R> function)
|
default <T1,T2,T3,T4,T5,T6,T7,T8,R> |
lift8(F<(T1,T2,T3,T4,T5,T6,T7,T8) -> R> function)
|
default <T1,T2,T3,T4,T5,T6,T7,T8,T9,R> |
lift9(F<(T1,T2,T3,T4,T5,T6,T7,T8,T9) -> R> function)
|
<A> F<A> |
point(A a)
Wraps a value in a container, for example an object in a list.
|
<A> F<A> point(A a)
A
- The type of the value.a
- The input value.<A,R> (F<A>) -> F<R> lift1(F<(A) -> R> function)
lift1(point(f)).apply(fa)
should be equivalent to map(f, fa)
for this
to be a lawful applicative functor.A
- The input type.R
- The output type.function
- The container containing the transformation function.default <A,B,R> (F<A>,F<B>) -> F<R> lift2(F<(A,B) -> R> function)
BiFunction
into a BiFunction
between containers.A
- The first input type.B
- The second input type.R
- The output type.function
- The container containing the transformation function.default <T1,T2,T3,R> (F<T1>,F<T2>,F<T3>) -> F<R> lift3(F<(T1,T2,T3) -> R> function)
T1
- The first input type.T2
- The second input type.T3
- The third input type.R
- The output type.function
- The container containing the transformation function.default <T1,T2,T3,T4,R> (F<T1>,F<T2>,F<T3>,F<T4>) -> F<R> lift4(F<(T1,T2,T3,T4) -> R> function)
T1
- The first input type.T2
- The second input type.T3
- The third input type.T4
- The fourth input type.R
- The output type.function
- The container containing the transformation function.default <T1,T2,T3,T4,T5,R> (F<T1>,F<T2>,F<T3>,F<T4>,F<T5>) -> F<R> lift5(F<(T1,T2,T3,T4,T5) -> R> function)
T1
- The first input type.T2
- The second input type.T3
- The third input type.T4
- The fourth input type.T5
- The fifth input type.R
- The output type.function
- The container containing the transformation function.default <T1,T2,T3,T4,T5,T6,R> (F<T1>,F<T2>,F<T3>,F<T4>,F<T5>,F<T6>) -> F<R> lift6(F<(T1,T2,T3,T4,T5,T6) -> R> function)
T1
- The first input type.T2
- The second input type.T3
- The third input type.T4
- The fourth input type.T5
- The fifth input type.T6
- The sixth input type.R
- The output type.function
- The container containing the transformation function.default <T1,T2,T3,T4,T5,T6,T7,R> (F<T1>,F<T2>,F<T3>,F<T4>,F<T5>,F<T6>,F<T7>) -> F<R> lift7(F<(T1,T2,T3,T4,T5,T6,T7) -> R> function)
T1
- The first input type.T2
- The second input type.T3
- The third input type.T4
- The fourth input type.T5
- The fifth input type.T6
- The sixth input type.T7
- The seventh input type.R
- The output type.function
- The container containing the transformation function.default <T1,T2,T3,T4,T5,T6,T7,T8,R> (F<T1>,F<T2>,F<T3>,F<T4>,F<T5>,F<T6>,F<T7>,F<T8>) -> F<R> lift8(F<(T1,T2,T3,T4,T5,T6,T7,T8) -> R> function)
T1
- The first input type.T2
- The second input type.T3
- The third input type.T4
- The fourth input type.T5
- The fifth input type.T6
- The sixth input type.T7
- The seventh input type.T8
- The eighth input type.R
- The output type.function
- The container containing the transformation function.default <T1,T2,T3,T4,T5,T6,T7,T8,T9,R> (F<T1>,F<T2>,F<T3>,F<T4>,F<T5>,F<T6>,F<T7>,F<T8>,F<T9>) -> F<R> lift9(F<(T1,T2,T3,T4,T5,T6,T7,T8,T9) -> R> function)
T1
- The first input type.T2
- The second input type.T3
- The third input type.T4
- The fourth input type.T5
- The fifth input type.T6
- The sixth input type.T7
- The seventh input type.T8
- The eighth input type.T9
- The ninth input type.R
- The output type.function
- The container containing the transformation function.default <A,R> F<R> ap(F<(A) -> R> func, F<A> arg)
arg
from A
to R
using a wrapped transformation function.arg
.A
- The input type.R
- The output type.func
- The wrapped transformation function.arg
- The input container that will be transformed.default <A,R> F<R> ap((A) -> R func, F<A> arg)
arg
from A
to R
using the func
.
This method is equivalent to Functor.map(Function, App)
.Functor.map(Function, App)
.A
- The input type.R
- The output type.func
- The transformation function.arg
- The input container that will be transformed.Functor.map(Function, App)
default <A,B,R> F<R> ap2(F<(A,B) -> R> func, F<A> a, F<B> b)
A
- The first input type.B
- The second input type.R
- The output type.func
- The wrapped transformation function.a
- The first input container that will be transformed.b
- The second input container that will be transformed.default <T1,T2,T3,R> F<R> ap3(F<(T1,T2,T3) -> R> func, F<T1> t1, F<T2> t2, F<T3> t3)
R
using a wrapped Function3
.T1
- The first input type.T2
- The second input type.T3
- The third input type.R
- The output type.func
- The wrapped transformation function.t1
- The first input container that will be transformed.t2
- The second input container that will be transformed.t3
- The third input container that will be transformed.default <T1,T2,T3,T4,R> F<R> ap4(F<(T1,T2,T3,T4) -> R> func, F<T1> t1, F<T2> t2, F<T3> t3, F<T4> t4)
R
using a wrapped Function4
.T1
- The first input type.T2
- The second input type.T3
- The third input type.T4
- The fourth input type.R
- The output type.func
- The wrapped transformation function.t1
- The first input container that will be transformed.t2
- The second input container that will be transformed.t3
- The third input container that will be transformed.t4
- The fourth input container that will be transformed.default <T1,T2,T3,T4,T5,R> F<R> ap5(F<(T1,T2,T3,T4,T5) -> R> func, F<T1> t1, F<T2> t2, F<T3> t3, F<T4> t4, F<T5> t5)
R
using a wrapped Function5
.T1
- The first input type.T2
- The second input type.T3
- The third input type.T4
- The fourth input type.T5
- The fifth input type.R
- The output type.func
- The wrapped transformation function.t1
- The first input container that will be transformed.t2
- The second input container that will be transformed.t3
- The third input container that will be transformed.t4
- The fourth input container that will be transformed.t5
- The fifth input container that will be transformed.default <T1,T2,T3,T4,T5,T6,R> F<R> ap6(F<(T1,T2,T3,T4,T5,T6) -> R> func, F<T1> t1, F<T2> t2, F<T3> t3, F<T4> t4, F<T5> t5, F<T6> t6)
R
using a wrapped Function6
.T1
- The first input type.T2
- The second input type.T3
- The third input type.T4
- The fourth input type.T5
- The fifth input type.T6
- The sixth input type.R
- The output type.func
- The wrapped transformation function.t1
- The first input container that will be transformed.t2
- The second input container that will be transformed.t3
- The third input container that will be transformed.t4
- The fourth input container that will be transformed.t5
- The fifth input container that will be transformed.t6
- The sixth input container that will be transformed.default <T1,T2,T3,T4,T5,T6,T7,R> F<R> ap7(F<(T1,T2,T3,T4,T5,T6,T7) -> R> func, F<T1> t1, F<T2> t2, F<T3> t3, F<T4> t4, F<T5> t5, F<T6> t6, F<T7> t7)
R
using a wrapped Function7
.T1
- The first input type.T2
- The second input type.T3
- The third input type.T4
- The fourth input type.T5
- The fifth input type.T6
- The sixth input type.T7
- The seventh input type.R
- The output type.func
- The wrapped transformation function.t1
- The first input container that will be transformed.t2
- The second input container that will be transformed.t3
- The third input container that will be transformed.t4
- The fourth input container that will be transformed.t5
- The fifth input container that will be transformed.t6
- The sixth input container that will be transformed.t7
- The seventh input container that will be transformed.default <T1,T2,T3,T4,T5,T6,T7,T8,R> F<R> ap8(F<(T1,T2,T3,T4,T5,T6,T7,T8) -> R> func, F<T1> t1, F<T2> t2, F<T3> t3, F<T4> t4, F<T5> t5, F<T6> t6, F<T7> t7, F<T8> t8)
R
using a wrapped Function8
.T1
- The first input type.T2
- The second input type.T3
- The third input type.T4
- The fourth input type.T5
- The fifth input type.T6
- The sixth input type.T7
- The seventh input type.T8
- The eighth input type.R
- The output type.func
- The wrapped transformation function.t1
- The first input container that will be transformed.t2
- The second input container that will be transformed.t3
- The third input container that will be transformed.t4
- The fourth input container that will be transformed.t5
- The fifth input container that will be transformed.t6
- The sixth input container that will be transformed.t7
- The seventh input container that will be transformed.t8
- The eighth input container that will be transformed.default <T1,T2,T3,T4,T5,T6,T7,T8,T9,R> F<R> ap9(F<(T1,T2,T3,T4,T5,T6,T7,T8,T9) -> R> func, F<T1> t1, F<T2> t2, F<T3> t3, F<T4> t4, F<T5> t5, F<T6> t6, F<T7> t7, F<T8> t8, F<T9> t9)
R
using a wrapped Function9
.T1
- The first input type.T2
- The second input type.T3
- The third input type.T4
- The fourth input type.T5
- The fifth input type.T6
- The sixth input type.T7
- The seventh input type.T8
- The eighth input type.T9
- The ninth input type.R
- The output type.func
- The wrapped transformation function.t1
- The first input container that will be transformed.t2
- The second input container that will be transformed.t3
- The third input container that will be transformed.t4
- The fourth input container that will be transformed.t5
- The fifth input container that will be transformed.t6
- The sixth input container that will be transformed.t7
- The seventh input container that will be transformed.t8
- The eighth input container that will be transformed.t9
- The ninth input container that will be transformed.default <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,R> F<R> ap10(F<(T1,T2,T3,T4,T5,T6,T7,T8,T9,T10) -> R> func, F<T1> t1, F<T2> t2, F<T3> t3, F<T4> t4, F<T5> t5, F<T6> t6, F<T7> t7, F<T8> t8, F<T9> t9, F<T10> t10)
R
using a wrapped Function10
.T1
- The first input type.T2
- The second input type.T3
- The third input type.T4
- The fourth input type.T5
- The fifth input type.T6
- The sixth input type.T7
- The seventh input type.T8
- The eighth input type.T9
- The ninth input type.T10
- The tenth input type.R
- The output type.func
- The wrapped transformation function.t1
- The first input container that will be transformed.t2
- The second input container that will be transformed.t3
- The third input container that will be transformed.t4
- The fourth input container that will be transformed.t5
- The fifth input container that will be transformed.t6
- The sixth input container that will be transformed.t7
- The seventh input container that will be transformed.t8
- The eighth input container that will be transformed.t9
- The ninth input container that will be transformed.t10
- The tenth input container that will be transformed.default <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,R> F<R> ap11(F<(T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11) -> R> func, F<T1> t1, F<T2> t2, F<T3> t3, F<T4> t4, F<T5> t5, F<T6> t6, F<T7> t7, F<T8> t8, F<T9> t9, F<T10> t10, F<T11> t11)
R
using a wrapped Function11
.T1
- The first input type.T2
- The second input type.T3
- The third input type.T4
- The fourth input type.T5
- The fifth input type.T6
- The sixth input type.T7
- The seventh input type.T8
- The eighth input type.T9
- The ninth input type.T10
- The tenth input type.T11
- The eleventh input type.R
- The output type.func
- The wrapped transformation function.t1
- The first input container that will be transformed.t2
- The second input container that will be transformed.t3
- The third input container that will be transformed.t4
- The fourth input container that will be transformed.t5
- The fifth input container that will be transformed.t6
- The sixth input container that will be transformed.t7
- The seventh input container that will be transformed.t8
- The eighth input container that will be transformed.t9
- The ninth input container that will be transformed.t10
- The tenth input container that will be transformed.t11
- The eleventh input container that will be transformed.default <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,R> F<R> ap12(F<(T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12) -> R> func, F<T1> t1, F<T2> t2, F<T3> t3, F<T4> t4, F<T5> t5, F<T6> t6, F<T7> t7, F<T8> t8, F<T9> t9, F<T10> t10, F<T11> t11, F<T12> t12)
R
using a wrapped Function12
.T1
- The first input type.T2
- The second input type.T3
- The third input type.T4
- The fourth input type.T5
- The fifth input type.T6
- The sixth input type.T7
- The seventh input type.T8
- The eighth input type.T9
- The ninth input type.T10
- The tenth input type.T11
- The eleventh input type.T12
- The twelfth input type.R
- The output type.func
- The wrapped transformation function.t1
- The first input container that will be transformed.t2
- The second input container that will be transformed.t3
- The third input container that will be transformed.t4
- The fourth input container that will be transformed.t5
- The fifth input container that will be transformed.t6
- The sixth input container that will be transformed.t7
- The seventh input container that will be transformed.t8
- The eighth input container that will be transformed.t9
- The ninth input container that will be transformed.t10
- The tenth input container that will be transformed.t11
- The eleventh input container that will be transformed.t12
- The twelfth input container that will be transformed.default <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,R> F<R> ap13(F<(T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13) -> R> func, F<T1> t1, F<T2> t2, F<T3> t3, F<T4> t4, F<T5> t5, F<T6> t6, F<T7> t7, F<T8> t8, F<T9> t9, F<T10> t10, F<T11> t11, F<T12> t12, F<T13> t13)
R
using a wrapped Function13
.T1
- The first input type.T2
- The second input type.T3
- The third input type.T4
- The fourth input type.T5
- The fifth input type.T6
- The sixth input type.T7
- The seventh input type.T8
- The eighth input type.T9
- The ninth input type.T10
- The tenth input type.T11
- The eleventh input type.T12
- The twelfth input type.T13
- The thirteenth input type.R
- The output type.func
- The wrapped transformation function.t1
- The first input container that will be transformed.t2
- The second input container that will be transformed.t3
- The third input container that will be transformed.t4
- The fourth input container that will be transformed.t5
- The fifth input container that will be transformed.t6
- The sixth input container that will be transformed.t7
- The seventh input container that will be transformed.t8
- The eighth input container that will be transformed.t9
- The ninth input container that will be transformed.t10
- The tenth input container that will be transformed.t11
- The eleventh input container that will be transformed.t12
- The twelfth input container that will be transformed.t13
- The thirteenth input container that will be transformed.default <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,R> F<R> ap14(F<(T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14) -> R> func, F<T1> t1, F<T2> t2, F<T3> t3, F<T4> t4, F<T5> t5, F<T6> t6, F<T7> t7, F<T8> t8, F<T9> t9, F<T10> t10, F<T11> t11, F<T12> t12, F<T13> t13, F<T14> t14)
R
using a wrapped Function14
.T1
- The first input type.T2
- The second input type.T3
- The third input type.T4
- The fourth input type.T5
- The fifth input type.T6
- The sixth input type.T7
- The seventh input type.T8
- The eighth input type.T9
- The ninth input type.T10
- The tenth input type.T11
- The eleventh input type.T12
- The twelfth input type.T13
- The thirteenth input type.T14
- The fourteenth input type.R
- The output type.func
- The wrapped transformation function.t1
- The first input container that will be transformed.t2
- The second input container that will be transformed.t3
- The third input container that will be transformed.t4
- The fourth input container that will be transformed.t5
- The fifth input container that will be transformed.t6
- The sixth input container that will be transformed.t7
- The seventh input container that will be transformed.t8
- The eighth input container that will be transformed.t9
- The ninth input container that will be transformed.t10
- The tenth input container that will be transformed.t11
- The eleventh input container that will be transformed.t12
- The twelfth input container that will be transformed.t13
- The thirteenth input container that will be transformed.t14
- The fourteenth input container that will be transformed.default <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,R> F<R> ap15(F<(T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15) -> R> func, F<T1> t1, F<T2> t2, F<T3> t3, F<T4> t4, F<T5> t5, F<T6> t6, F<T7> t7, F<T8> t8, F<T9> t9, F<T10> t10, F<T11> t11, F<T12> t12, F<T13> t13, F<T14> t14, F<T15> t15)
R
using a wrapped Function15
.T1
- The first input type.T2
- The second input type.T3
- The third input type.T4
- The fourth input type.T5
- The fifth input type.T6
- The sixth input type.T7
- The seventh input type.T8
- The eighth input type.T9
- The ninth input type.T10
- The tenth input type.T11
- The eleventh input type.T12
- The twelfth input type.T13
- The thirteenth input type.T14
- The fourteenth input type.T15
- The fifteenth input type.R
- The output type.func
- The wrapped transformation function.t1
- The first input container that will be transformed.t2
- The second input container that will be transformed.t3
- The third input container that will be transformed.t4
- The fourth input container that will be transformed.t5
- The fifth input container that will be transformed.t6
- The sixth input container that will be transformed.t7
- The seventh input container that will be transformed.t8
- The eighth input container that will be transformed.t9
- The ninth input container that will be transformed.t10
- The tenth input container that will be transformed.t11
- The eleventh input container that will be transformed.t12
- The twelfth input container that will be transformed.t13
- The thirteenth input container that will be transformed.t14
- The fourteenth input container that will be transformed.t15
- The fifteenth input container that will be transformed.default <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,R> F<R> ap16(F<(T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16) -> R> func, F<T1> t1, F<T2> t2, F<T3> t3, F<T4> t4, F<T5> t5, F<T6> t6, F<T7> t7, F<T8> t8, F<T9> t9, F<T10> t10, F<T11> t11, F<T12> t12, F<T13> t13, F<T14> t14, F<T15> t15, F<T16> t16)
R
using a wrapped Function16
.T1
- The first input type.T2
- The second input type.T3
- The third input type.T4
- The fourth input type.T5
- The fifth input type.T6
- The sixth input type.T7
- The seventh input type.T8
- The eighth input type.T9
- The ninth input type.T10
- The tenth input type.T11
- The eleventh input type.T12
- The twelfth input type.T13
- The thirteenth input type.T14
- The fourteenth input type.T15
- The fifteenth input type.T16
- The sixteenth input type.R
- The output type.func
- The wrapped transformation function.t1
- The first input container that will be transformed.t2
- The second input container that will be transformed.t3
- The third input container that will be transformed.t4
- The fourth input container that will be transformed.t5
- The fifth input container that will be transformed.t6
- The sixth input container that will be transformed.t7
- The seventh input container that will be transformed.t8
- The eighth input container that will be transformed.t9
- The ninth input container that will be transformed.t10
- The tenth input container that will be transformed.t11
- The eleventh input container that will be transformed.t12
- The twelfth input container that will be transformed.t13
- The thirteenth input container that will be transformed.t14
- The fourteenth input container that will be transformed.t15
- The fifteenth input container that will be transformed.t16
- The sixteenth input container that will be transformed.default <A,B,R> F<R> apply2((A,B) -> R func, F<A> a, F<B> b)
R
using a BiFunction
.A
- The first input type.B
- The second input type.R
- The output type.func
- The transformation function.a
- The first input container that will be transformed.b
- The second input container that will be transformed.default <T1,T2,T3,R> F<R> apply3((T1,T2,T3) -> R func, F<T1> t1, F<T2> t2, F<T3> t3)
R
using a Function3
.T1
- The first input type.T2
- The second input type.T3
- The third input type.R
- The output type.func
- The transformation function.t1
- The first input container that will be transformed.t2
- The second input container that will be transformed.t3
- The third input container that will be transformed.default <T1,T2,T3,T4,R> F<R> apply4((T1,T2,T3,T4) -> R func, F<T1> t1, F<T2> t2, F<T3> t3, F<T4> t4)
R
using a Function4
.T1
- The first input type.T2
- The second input type.T3
- The third input type.T4
- The fourth input type.R
- The output type.func
- The transformation function.t1
- The first input container that will be transformed.t2
- The second input container that will be transformed.t3
- The third input container that will be transformed.t4
- The fourth input container that will be transformed.default <T1,T2,T3,T4,T5,R> F<R> apply5((T1,T2,T3,T4,T5) -> R func, F<T1> t1, F<T2> t2, F<T3> t3, F<T4> t4, F<T5> t5)
R
using a Function5
.T1
- The first input type.T2
- The second input type.T3
- The third input type.T4
- The fourth input type.T5
- The fifth input type.R
- The output type.func
- The transformation function.t1
- The first input container that will be transformed.t2
- The second input container that will be transformed.t3
- The third input container that will be transformed.t4
- The fourth input container that will be transformed.t5
- The fifth input container that will be transformed.default <T1,T2,T3,T4,T5,T6,R> F<R> apply6((T1,T2,T3,T4,T5,T6) -> R func, F<T1> t1, F<T2> t2, F<T3> t3, F<T4> t4, F<T5> t5, F<T6> t6)
R
using a Function6
.T1
- The first input type.T2
- The second input type.T3
- The third input type.T4
- The fourth input type.T5
- The fifth input type.T6
- The sixth input type.R
- The output type.func
- The transformation function.t1
- The first input container that will be transformed.t2
- The second input container that will be transformed.t3
- The third input container that will be transformed.t4
- The fourth input container that will be transformed.t5
- The fifth input container that will be transformed.t6
- The sixth input container that will be transformed.default <T1,T2,T3,T4,T5,T6,T7,R> F<R> apply7((T1,T2,T3,T4,T5,T6,T7) -> R func, F<T1> t1, F<T2> t2, F<T3> t3, F<T4> t4, F<T5> t5, F<T6> t6, F<T7> t7)
R
using a Function7
.T1
- The first input type.T2
- The second input type.T3
- The third input type.T4
- The fourth input type.T5
- The fifth input type.T6
- The sixth input type.T7
- The seventh input type.R
- The output type.func
- The transformation function.t1
- The first input container that will be transformed.t2
- The second input container that will be transformed.t3
- The third input container that will be transformed.t4
- The fourth input container that will be transformed.t5
- The fifth input container that will be transformed.t6
- The sixth input container that will be transformed.t7
- The seventh input container that will be transformed.default <T1,T2,T3,T4,T5,T6,T7,T8,R> F<R> apply8((T1,T2,T3,T4,T5,T6,T7,T8) -> R func, F<T1> t1, F<T2> t2, F<T3> t3, F<T4> t4, F<T5> t5, F<T6> t6, F<T7> t7, F<T8> t8)
R
using a Function8
.T1
- The first input type.T2
- The second input type.T3
- The third input type.T4
- The fourth input type.T5
- The fifth input type.T6
- The sixth input type.T7
- The seventh input type.T8
- The eighth input type.R
- The output type.func
- The transformation function.t1
- The first input container that will be transformed.t2
- The second input container that will be transformed.t3
- The third input container that will be transformed.t4
- The fourth input container that will be transformed.t5
- The fifth input container that will be transformed.t6
- The sixth input container that will be transformed.t7
- The seventh input container that will be transformed.t8
- The eighth input container that will be transformed.default <T1,T2,T3,T4,T5,T6,T7,T8,T9,R> F<R> apply9((T1,T2,T3,T4,T5,T6,T7,T8,T9) -> R func, F<T1> t1, F<T2> t2, F<T3> t3, F<T4> t4, F<T5> t5, F<T6> t6, F<T7> t7, F<T8> t8, F<T9> t9)
R
using a Function9
.T1
- The first input type.T2
- The second input type.T3
- The third input type.T4
- The fourth input type.T5
- The fifth input type.T6
- The sixth input type.T7
- The seventh input type.T8
- The eighth input type.T9
- The ninth input type.R
- The output type.func
- The transformation function.t1
- The first input container that will be transformed.t2
- The second input container that will be transformed.t3
- The third input container that will be transformed.t4
- The fourth input container that will be transformed.t5
- The fifth input container that will be transformed.t6
- The sixth input container that will be transformed.t7
- The seventh input container that will be transformed.t8
- The eighth input container that will be transformed.t9
- The ninth input container that will be transformed.