Interface ThrowingPredicate2<T,​P>

  • All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    CheckedPredicate2, Predicates2.ThrowingPredicate2Adapter
    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 ThrowingPredicate2<T,​P>
    extends java.io.Serializable
    A functional interface that can be represented by a Lambda that can throw a CheckedException.
    • Method Detail

      • safeAccept

        boolean safeAccept​(T object,
                           P param)
                    throws java.lang.Exception
        Throws:
        java.lang.Exception