Package akka.japi.pf

Interface FI.TypedPredicate<T>

  • Type Parameters:
    T - the type that the predicate will operate on.
    Enclosing class:
    FI
    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 FI.TypedPredicate<T>
    Functional interface for a predicate.

    This class is kept for compatibility, but for future API's please prefer Predicate or Predicate.

    • Method Detail

      • defined

        boolean defined​(T t)
        The predicate to evaluate.
        Parameters:
        t - an instance that the predicate is evaluated on.
        Returns:
        the result of the predicate