Interface Tuple4Function<A,B,C,D,R>

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

Similar to BiFunction except for 4 parameters.

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

See Also:
  • Method Summary

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