Module aeonics.core
Package aeonics.util

Interface Functions.TriFunction<A,​B,​C,​R>

  • Type Parameters:
    A - first argument type
    B - second argument type
    C - third argument type
    R - the return type
    All Superinterfaces:
    Functions.BiFunction<A,​B,​R>, Functions.Function<A,​R>
    All Known Subinterfaces:
    Functions.QuadriFunction<A,​B,​C,​D,​R>
    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.TriFunction<A,​B,​C,​R>
    extends Functions.BiFunction<A,​B,​R>
    Represents a function that accepts three arguments and produces a result.
    • Method Detail

      • apply

        default R apply​(A a,
                        B b)
                 throws java.lang.Exception
        Description copied from interface: Functions.BiFunction
        Applies this function to the given arguments.
        Specified by:
        apply in interface Functions.BiFunction<A,​B,​C>
        Parameters:
        a - the input argument
        b - the input argument
        Returns:
        the return value
        Throws:
        java.lang.Exception - if an error happens
      • apply

        R apply​(A a,
                B b,
                C c)
         throws java.lang.Exception
        Applies this function to the given arguments.
        Parameters:
        a - the input argument
        b - the input argument
        c - the input argument
        Returns:
        the return value
        Throws:
        java.lang.Exception - if an error happens