Interface CheckedDoublePredicate

  • 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 CheckedDoublePredicate
    A DoublePredicate that allows for checked exceptions.
    • Method Detail

      • test

        boolean test​(double value)
              throws java.lang.Throwable
        Evaluates this predicate on the given argument.
        Parameters:
        value - the input argument
        Returns:
        true if the input argument matches the predicate, otherwise false
        Throws:
        java.lang.Throwable
      • unchecked

        static java.util.function.DoublePredicate unchecked​(CheckedDoublePredicate function,
                                                            java.util.function.Consumer<java.lang.Throwable> handler)