Module io.jooby
Package io.jooby

Interface SneakyThrows.Function5<V1,V2,V3,V4,V5,R>

Type Parameters:
V1 - Input type.
V2 - Input type.
V3 - Input type.
V4 - Input type.
V5 - Input type.
R - Output type.
Enclosing class:
SneakyThrows
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 SneakyThrows.Function5<V1,V2,V3,V4,V5,R>
Function with five arguments.

The apply(Object, Object, Object, Object, Object) method throws checked exceptions using SneakyThrows.propagate(Throwable) method.

  • Method Summary

    Modifier and Type
    Method
    Description
    default R
    apply(V1 v1, V2 v2, V3 v3, V4 v4, V5 v5)
    Apply this function to the given argument and produces a result.
    tryApply(V1 v1, V2 v2, V3 v3, V4 v4, V5 v5)
    Apply this function to the given argument and produces a result.
  • Method Details

    • tryApply

      R tryApply(V1 v1, V2 v2, V3 v3, V4 v4, V5 v5) throws Exception
      Apply this function to the given argument and produces a result.
      Parameters:
      v1 - Input argument.
      v2 - Input argument.
      v3 - Input argument.
      v4 - Input argument.
      v5 - Input argument.
      Returns:
      Result.
      Throws:
      Exception - If something goes wrong.
    • apply

      default R apply(V1 v1, V2 v2, V3 v3, V4 v4, V5 v5)
      Apply this function to the given argument and produces a result.
      Parameters:
      v1 - Input argument.
      v2 - Input argument.
      v3 - Input argument.
      v4 - Input argument.
      v5 - Input argument.
      Returns:
      Result.