Interface Ref5ToBooleanFunction<A,B,C,D,E>

Type Parameters:
A - An input parameter type
B - An input parameter type
C - An input parameter type
D - An input parameter type
E - An input parameter 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 Ref5ToBooleanFunction<A,B,C,D,E>
A function that accepts 5 generic input parameters and returns a boolean.
Since:
1.2
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    apply(A a, B b, C c, D d, E e)
    Applies the function.
    Returns a Ref5ToBooleanFunction that represents !this.apply(...).
    static <A,B,C,D,E>
    Ref5ToBooleanFunction<A,B,C,D,E>
    not(Ref5ToBooleanFunction<A,B,C,D,E> func)
    Returns a Ref5ToBooleanFunction that represents !func.apply(...).
  • Method Details

    • apply

      boolean apply(A a, B b, C c, D d, E e)
      Applies the function.
      Parameters:
      a - An argument.
      b - An argument.
      c - An argument.
      d - An argument.
      e - An argument.
      Returns:
      The result.
    • negate

      default Ref5ToBooleanFunction<A,B,C,D,E> negate()
      Returns a Ref5ToBooleanFunction that represents !this.apply(...).
      Returns:
      The logical negation of this function.
    • not

      static <A,B,C,D,E> Ref5ToBooleanFunction<A,B,C,D,E> not(Ref5ToBooleanFunction<A,B,C,D,E> func)
      Returns a Ref5ToBooleanFunction that represents !func.apply(...).
      Type Parameters:
      A - A function parameter type
      B - A function parameter type
      C - A function parameter type
      D - A function parameter type
      E - A function parameter type
      Parameters:
      func - The function to negate. Must not be null.
      Returns:
      The logical negation of the specified function.
      Throws:
      NullPointerException - If the specified function is null.