Module aeonics.core
Package aeonics.util

Interface Functions.TriPredicate<A,​B,​C>

  • Type Parameters:
    A - first argument type
    B - second argument type
    C - thrid argument type
    All Superinterfaces:
    Functions.BiPredicate<A,​B>, Functions.Predicate<A>
    All Known Subinterfaces:
    Functions.QuadriPredicate<A,​B,​C,​D>
    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.TriPredicate<A,​B,​C>
    extends Functions.BiPredicate<A,​B>
    Represents a predicate of three argument.
    • Method Detail

      • test

        default boolean test​(A a,
                             B b)
                      throws java.lang.Exception
        Description copied from interface: Functions.BiPredicate
        Evaluates this predicate on the given arguments.
        Specified by:
        test in interface Functions.BiPredicate<A,​B>
        Parameters:
        a - the input argument
        b - the input argument
        Returns:
        true if the input arguments match the predicate
        Throws:
        java.lang.Exception - if an error happens
      • test

        boolean test​(A a,
                     B b,
                     C c)
              throws java.lang.Exception
        Evaluates this predicate on the given arguments.
        Parameters:
        a - the input argument
        b - the input argument
        c - the input argument
        Returns:
        true if the input arguments match the predicate
        Throws:
        java.lang.Exception - if an error happens