P1
- first parameter typeP2
- second parameter typeP3
- third parameter typeP4
- fourth parameter typeP5
- fifth parameter typeP6
- sixth parameter typeP7
- seventh parameter typeP8
- eighth parameter typeP9
- nineth parameter type@FunctionalInterface public interface Procedure9<P1,P2,P3,P4,P5,P6,P7,P8,P9> extends Procedure1<ITuple9<? extends P1,? extends P2,? extends P3,? extends P4,? extends P5,? extends P6,? extends P7,? extends P8,? extends P9>>
Procedure0
,
Procedure1
,
Procedure2
,
Procedure3
,
Procedure4
,
Procedure5
,
Procedure6
,
Procedure7
,
Procedure8
Modifier and Type | Field and Description |
---|---|
static Procedure9<?,?,?,?,?,?,?,?,?> |
NULL
Procedure with nine arguments which does nothing.
|
Modifier and Type | Method and Description |
---|---|
default void |
accept(ITuple9<? extends P1,? extends P2,? extends P3,? extends P4,? extends P5,? extends P6,? extends P7,? extends P8,? extends P9> tuple9)
Expand a tuple into the arguments of this procedure.
|
default <FR extends ITuple9<? extends P1,? extends P2,? extends P3,? extends P4,? extends P5,? extends P6,? extends P7,? extends P8,? extends P9>,FP> |
after1(java.util.function.Function<FP,FR> before)
Get a chained procedure which first applies the given function, then this procedure.
|
default <FR extends ITuple9<? extends P1,? extends P2,? extends P3,? extends P4,? extends P5,? extends P6,? extends P7,? extends P8,? extends P9>,FP1,FP2> |
after2(java.util.function.BiFunction<FP1,FP2,FR> before)
Get a chained procedure which first applies the given 2-parameter function, then this procedure.
|
default <FR extends ITuple9<? extends P1,? extends P2,? extends P3,? extends P4,? extends P5,? extends P6,? extends P7,? extends P8,? extends P9>,FP1,FP2,FP3> |
after3(Function3<FR,FP1,FP2,FP3> before)
Get a chained procedure which first applies the given 3-parameter function, then this procedure.
|
default <FR extends ITuple9<? extends P1,? extends P2,? extends P3,? extends P4,? extends P5,? extends P6,? extends P7,? extends P8,? extends P9>,FP1,FP2,FP3,FP4,FP5> |
after5(Function5<FR,FP1,FP2,FP3,FP4,FP5> before)
Get a chained procedure which first applies the given 5-parameter function, then this procedure.
|
default <FR extends ITuple9<? extends P1,? extends P2,? extends P3,? extends P4,? extends P5,? extends P6,? extends P7,? extends P8,? extends P9>,FP1,FP2,FP3,FP4,FP5,FP6> |
after6(Function6<FR,FP1,FP2,FP3,FP4,FP5,FP6> before)
Get a chained procedure which first applies the given 6-parameter function, then this procedure.
|
default <FR extends ITuple9<? extends P1,? extends P2,? extends P3,? extends P4,? extends P5,? extends P6,? extends P7,? extends P8,? extends P9>,FP1,FP2,FP3,FP4,FP5,FP6,FP7> |
after7(Function7<FR,FP1,FP2,FP3,FP4,FP5,FP6,FP7> before)
Get a chained procedure which first applies the given 7-parameter function, then this one.
|
default <FR extends ITuple9<? extends P1,? extends P2,? extends P3,? extends P4,? extends P5,? extends P6,? extends P7,? extends P8,? extends P9>,FP1,FP2,FP3,FP4,FP5,FP6,FP7,FP8> |
after8(Function8<FR,FP1,FP2,FP3,FP4,FP5,FP6,FP7,FP8> before)
Get a chained procedure which first applies the given 8-parameter function, then this one.
|
default <FR extends ITuple9<? extends P1,? extends P2,? extends P3,? extends P4,? extends P5,? extends P6,? extends P7,? extends P8,? extends P9>,FP1,FP2,FP3,FP4,FP5,FP6,FP7,FP8,FP9> |
after9(Function9<FR,FP1,FP2,FP3,FP4,FP5,FP6,FP7,FP8,FP9> before)
Get a chained procedure which first applies the given 9-parameter function, then this one.
|
void |
apply(P1 arg1,
P2 arg2,
P3 arg3,
P4 arg4,
P5 arg5,
P6 arg6,
P7 arg7,
P8 arg8,
P9 arg9)
Run the procedure.
|
static <T1,T2,T3,T4,T5,T6,T7,T8,T9> |
empty()
Return a procedure which does nothing.
|
default Procedure8<P2,P3,P4,P5,P6,P7,P8,P9> |
partial1(P1 argument)
Get a partially applied procedure.
|
default Procedure8<P1,P3,P4,P5,P6,P7,P8,P9> |
partial2(P2 argument)
Get a partially applied procedure.
|
default Procedure8<P1,P2,P4,P5,P6,P7,P8,P9> |
partial3(P3 argument)
Get a partially applied procedure.
|
default Procedure8<P1,P2,P3,P5,P6,P7,P8,P9> |
partial4(P4 argument)
Get a partially applied procedure.
|
default Procedure8<P1,P2,P3,P4,P6,P7,P8,P9> |
partial5(P5 argument)
Get a partially applied procedure.
|
default Procedure8<P1,P2,P3,P4,P5,P7,P8,P9> |
partial6(P6 argument)
Get a partially applied procedure.
|
default Procedure8<P1,P2,P3,P4,P5,P6,P8,P9> |
partial7(P7 argument)
Get a partially applied procedure.
|
default Procedure8<P1,P2,P3,P4,P5,P6,P7,P9> |
partial8(P8 argument)
Get a partially applied procedure.
|
default Procedure8<P1,P2,P3,P4,P5,P6,P7,P8> |
partial9(P9 argument)
Get a partially applied procedure.
|
apply, applyNonNull, from, nonFragile, nonFragileX, partial
@NotNull static final Procedure9<?,?,?,?,?,?,?,?,?> NULL
empty()
instead.void apply(P1 arg1, P2 arg2, P3 arg3, P4 arg4, P5 arg5, P6 arg6, P7 arg7, P8 arg8, P9 arg9)
arg1
- first procedure argumentarg2
- second procedure argumentarg3
- third procedure argumentarg4
- fourth procedure argumentarg5
- fifth procedure argumentarg6
- sixth procedure argumentarg7
- seventh procedure argumentarg8
- eighth procedure argumentarg9
- nineth procedure argumentdefault void accept(@NotNull ITuple9<? extends P1,? extends P2,? extends P3,? extends P4,? extends P5,? extends P6,? extends P7,? extends P8,? extends P9> tuple9)
@NotNull default Procedure8<P2,P3,P4,P5,P6,P7,P8,P9> partial1(P1 argument)
argument
- value applied for first argument@NotNull default Procedure8<P1,P3,P4,P5,P6,P7,P8,P9> partial2(P2 argument)
argument
- value applied for second argument@NotNull default Procedure8<P1,P2,P4,P5,P6,P7,P8,P9> partial3(P3 argument)
argument
- value applied for third argument@NotNull default Procedure8<P1,P2,P3,P5,P6,P7,P8,P9> partial4(P4 argument)
argument
- value applied for fourth argument@NotNull default Procedure8<P1,P2,P3,P4,P6,P7,P8,P9> partial5(P5 argument)
argument
- value applied for fifth argument@NotNull default Procedure8<P1,P2,P3,P4,P5,P7,P8,P9> partial6(P6 argument)
argument
- value applied for sixth argument@NotNull default Procedure8<P1,P2,P3,P4,P5,P6,P8,P9> partial7(P7 argument)
argument
- value applied for seventh argument@NotNull default Procedure8<P1,P2,P3,P4,P5,P6,P7,P9> partial8(P8 argument)
argument
- value applied for eighth argument@NotNull default Procedure8<P1,P2,P3,P4,P5,P6,P7,P8> partial9(P9 argument)
argument
- value applied for nineth argument@NotNull default <FR extends ITuple9<? extends P1,? extends P2,? extends P3,? extends P4,? extends P5,? extends P6,? extends P7,? extends P8,? extends P9>,FP> Procedure1<FP> after1(@NotNull java.util.function.Function<FP,FR> before)
ITuple9
with matching parametric types
which are applied in their order to this procedure.FR
- function before
's return type, has to be a 9-tuple with matching typesFP
- function before
's parameter type, same for returned procedurebefore
- function to apply first, has to return a non-null
result so unpacking the parameters
from the tuple is possible@NotNull default <FR extends ITuple9<? extends P1,? extends P2,? extends P3,? extends P4,? extends P5,? extends P6,? extends P7,? extends P8,? extends P9>,FP1,FP2> Procedure2<FP1,FP2> after2(@NotNull java.util.function.BiFunction<FP1,FP2,FR> before)
ITuple9
with matching parametric types
which are applied in their order to this procedure.FR
- function before
's return type, has to be a 9-tuple with matching typesFP1
- function before
's first parameter type, sane for returned procedureFP2
- function before
's second parameter type, same for returned procedurebefore
- function to apply first, has to return a non-null
result so unpacking the parameters
from the tuple is possible@NotNull default <FR extends ITuple9<? extends P1,? extends P2,? extends P3,? extends P4,? extends P5,? extends P6,? extends P7,? extends P8,? extends P9>,FP1,FP2,FP3> Procedure3<FP1,FP2,FP3> after3(@NotNull Function3<FR,FP1,FP2,FP3> before)
ITuple9
with matching parametric types
which are applied in their order to this procedure.FR
- function before
's return type, has to be a 9-tuple with matching typesFP1
- function before
's first parameter type, sane for returned procedureFP2
- function before
's second parameter type, sane for returned procedureFP3
- function before
's third parameter type, sane for returned procedurebefore
- function to apply first, has to return a non-null
result so unpacking the parameters
from the tuple is possible@NotNull default <FR extends ITuple9<? extends P1,? extends P2,? extends P3,? extends P4,? extends P5,? extends P6,? extends P7,? extends P8,? extends P9>,FP1,FP2,FP3,FP4,FP5> Procedure5<FP1,FP2,FP3,FP4,FP5> after5(@NotNull Function5<FR,FP1,FP2,FP3,FP4,FP5> before)
ITuple9
with matching parametric types
which are applied in their order to this function.FR
- function before
's return type, has to be a 9-tuple with matching typesFP1
- function before
's first parameter type, sane for returned procedureFP2
- function before
's second parameter type, sane for returned procedureFP3
- function before
's third parameter type, sane for returned procedureFP4
- function before
's fourth parameter type, sane for returned procedureFP5
- function before
's fifth parameter type, sane for returned procedurebefore
- function to apply first, has to return a non-null
result so unpacking the parameters
from the tuple is possible@NotNull default <FR extends ITuple9<? extends P1,? extends P2,? extends P3,? extends P4,? extends P5,? extends P6,? extends P7,? extends P8,? extends P9>,FP1,FP2,FP3,FP4,FP5,FP6> Procedure6<FP1,FP2,FP3,FP4,FP5,FP6> after6(@NotNull Function6<FR,FP1,FP2,FP3,FP4,FP5,FP6> before)
ITuple9
with matching parametric types
which are applied in their order to this function.FR
- function before
's return type, has to be a 9-tuple with matching typesFP1
- function before
's first parameter type, sane for returned procedureFP2
- function before
's second parameter type, sane for returned procedureFP3
- function before
's third parameter type, sane for returned procedureFP4
- function before
's fourth parameter type, sane for returned procedureFP5
- function before
's fifth parameter type, sane for returned procedureFP6
- function before
's sixth parameter type, sane for returned procedurebefore
- function to apply first, has to return a non-null
result so unpacking the parameters
from the tuple is possible@NotNull default <FR extends ITuple9<? extends P1,? extends P2,? extends P3,? extends P4,? extends P5,? extends P6,? extends P7,? extends P8,? extends P9>,FP1,FP2,FP3,FP4,FP5,FP6,FP7> Procedure7<FP1,FP2,FP3,FP4,FP5,FP6,FP7> after7(@NotNull Function7<FR,FP1,FP2,FP3,FP4,FP5,FP6,FP7> before)
ITuple9
with matching parametric types
which are applied in their order to this procedure.FR
- function before
's return type, has to be a 9-tuple with matching typesFP1
- function before
's first parameter type, sane for returned procedureFP2
- function before
's second parameter type, sane for returned procedureFP3
- function before
's third parameter type, sane for returned procedureFP4
- function before
's fourth parameter type, sane for returned procedureFP5
- function before
's fifth parameter type, sane for returned procedureFP6
- function before
's sixth parameter type, sane for returned procedureFP7
- function before
's seventh parameter type, sane for returned procedurebefore
- function to apply first, has to return a non-null
result so unpacking the parameters
from the tuple is possible@NotNull default <FR extends ITuple9<? extends P1,? extends P2,? extends P3,? extends P4,? extends P5,? extends P6,? extends P7,? extends P8,? extends P9>,FP1,FP2,FP3,FP4,FP5,FP6,FP7,FP8> Procedure8<FP1,FP2,FP3,FP4,FP5,FP6,FP7,FP8> after8(@NotNull Function8<FR,FP1,FP2,FP3,FP4,FP5,FP6,FP7,FP8> before)
ITuple9
with matching parametric types
which are applied in their order to this procedure.FR
- function before
's return type, has to be a 9-tuple with matching typesFP1
- function before
's first parameter type, sane for returned procedureFP2
- function before
's second parameter type, sane for returned procedureFP3
- function before
's third parameter type, sane for returned procedureFP4
- function before
's fourth parameter type, sane for returned procedureFP5
- function before
's fifth parameter type, sane for returned procedureFP6
- function before
's sixth parameter type, sane for returned procedureFP7
- function before
's seventh parameter type, sane for returned procedureFP8
- function before
's seventh parameter type, sane for returned procedurebefore
- function to apply first, has to return a non-null
result so unpacking the parameters
from the tuple is possible@NotNull default <FR extends ITuple9<? extends P1,? extends P2,? extends P3,? extends P4,? extends P5,? extends P6,? extends P7,? extends P8,? extends P9>,FP1,FP2,FP3,FP4,FP5,FP6,FP7,FP8,FP9> Procedure9<FP1,FP2,FP3,FP4,FP5,FP6,FP7,FP8,FP9> after9(@NotNull Function9<FR,FP1,FP2,FP3,FP4,FP5,FP6,FP7,FP8,FP9> before)
ITuple9
with matching parametric types
which are applied in their order to this procedure.FR
- function before
's return type, has to be a 9-tuple with matching typesFP1
- function before
's first parameter type, sane for returned procedureFP2
- function before
's second parameter type, sane for returned procedureFP3
- function before
's third parameter type, sane for returned procedureFP4
- function before
's fourth parameter type, sane for returned procedureFP5
- function before
's fifth parameter type, sane for returned procedureFP6
- function before
's sixth parameter type, sane for returned procedureFP7
- function before
's seventh parameter type, sane for returned procedureFP8
- function before
's seventh parameter type, sane for returned procedureFP9
- function before
's ninth parameter type, sane for returned procedurebefore
- function to apply first, has to return a non-null
result so unpacking the parameters
from the tuple is possible@NotNull static <T1,T2,T3,T4,T5,T6,T7,T8,T9> Procedure9<T1,T2,T3,T4,T5,T6,T7,T8,T9> empty()
NULL
, but the compiler will accept it smoothly.empty
in interface Procedure1<ITuple9<? extends P1,? extends P2,? extends P3,? extends P4,? extends P5,? extends P6,? extends P7,? extends P8,? extends P9>>
T1
- first argument typeT2
- second argument typeT3
- third argument typeT4
- fourth argument typeT5
- fifth argument typeT6
- sixth argument typeT7
- seventh argument typeT8
- eoghth argument typeT9
- ninth argument type