Interface PentaFunction<T0,T1,T2,T3,T4,R>

All Superinterfaces:
Serializable
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 PentaFunction<T0,T1,T2,T3,T4,R> extends Serializable
Represents a penta-arity function that accepts five arguments and produces a result.
Since:
Jet 3.0
  • Method Summary

    Modifier and Type
    Method
    Description
    default R
    apply(T0 t0, T1 t1, T2 t2, T3 t3, T4 t4)
    Applies this function to the given arguments.
    applyEx(T0 t0, T1 t1, T2 t2, T3 t3, T4 t4)
    Exception-declaring variant of apply(T0, T1, T2, T3, T4).
  • Method Details

    • applyEx

      R applyEx(T0 t0, T1 t1, T2 t2, T3 t3, T4 t4) throws Exception
      Exception-declaring variant of apply(T0, T1, T2, T3, T4).
      Throws:
      Exception
    • apply

      default R apply(T0 t0, T1 t1, T2 t2, T3 t3, T4 t4)
      Applies this function to the given arguments.
      Parameters:
      t0 - the first argument
      t1 - the second argument
      t2 - the third argument
      t3 - the fourth argument
      Returns:
      the function result