Package akka.japi.pf

Interface FI.TypedPredicate2<T,​U>

  • Type Parameters:
    T - the type that the predicate will operate on.
    U - 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.TypedPredicate2<T,​U>
    Functional interface for a predicate.
    • Method Detail

      • defined

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