Interface Tuple5Function<A,B,C,D,E,R>

Type Parameters:
A - Object 1 type.
B - Object 2 type.
C - Object 3 type.
D - Object 4 type.
E - Object 5 type.
R - Result type.
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 interface Tuple5Function<A,B,C,D,E,R>
Allows you to perform a function against 5 objects.

Similar to BiFunction except for 5 parameters.

Tuple5Function<A,B,C,D,E,R> x = (a,b,c,d,e) -> doSomething(a,b,c,d,e); R result = x.apply(xa,xb,xc,xd,xe);

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    default <V> Tuple5Function<A,B,C,D,E,V>
    andThen(Function<? super R,? extends V> after)
     
    apply(A a, B b, C c, D d, E e)