Module org.scijava.function
Package org.scijava.function
Interface Functions.Arity7<I1,I2,I3,I4,I5,I6,I7,O>
-
- Type Parameters:
I1- the type of argument 1 to the functionI2- the type of argument 2 to the functionI3- the type of argument 3 to the functionI4- the type of argument 4 to the functionI5- the type of argument 5 to the functionI6- the type of argument 6 to the functionI7- the type of argument 7 to the functionO- the type of the output of the function
- Enclosing class:
- Functions
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface Functions.Arity7<I1,I2,I3,I4,I5,I6,I7,O>
A 7-arity specialization ofFunction.- See Also:
Function
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default <O2> Functions.Arity7<I1,I2,I3,I4,I5,I6,I7,O2>andThen(Function<? super O,? extends O2> after)Returns a composed function that first applies this function to its input, and then applies theafterfunction to the result.Oapply(I1 in1, I2 in2, I3 in3, I4 in4, I5 in5, I6 in6, I7 in7)Applies this function to the given arguments.
-
-
-
Method Detail
-
apply
O apply(I1 in1, I2 in2, I3 in3, I4 in4, I5 in5, I6 in6, I7 in7)
Applies this function to the given arguments.- Parameters:
in1- function argument 1in2- function argument 2in3- function argument 3in4- function argument 4in5- function argument 5in6- function argument 6in7- function argument 7- Returns:
- the function output
-
andThen
default <O2> Functions.Arity7<I1,I2,I3,I4,I5,I6,I7,O2> andThen(Function<? super O,? extends O2> after)
Returns a composed function that first applies this function to its input, and then applies theafterfunction to the result. If evaluation of either function throws an exception, it is relayed to the caller of the composed function.- Type Parameters:
O2- the type of output of theafterfunction, and of the composed function- Parameters:
after- the function to apply after this function is applied- Returns:
- a composed function that first applies this function and then
applies the
afterfunction - Throws:
NullPointerException- if after is null
-
-