Module aeonics.core
Package aeonics.util

Interface Functions.Predicate<A>

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

      • test

        boolean test​(A a)
              throws java.lang.Exception
        Evaluates this predicate on the given argument.
        Parameters:
        a - the input argument
        Returns:
        true if the input argument matches the predicate
        Throws:
        java.lang.Exception - if an error happens