@FunctionalInterface
public interface CheckedDoublePredicate
DoublePredicate that allows for checked exceptions.| Modifier and Type | Method | Description |
|---|---|---|
static java.util.function.DoublePredicate |
sneaky(CheckedDoublePredicate predicate) |
|
boolean |
test(double value) |
Evaluates this predicate on the given argument.
|
static java.util.function.DoublePredicate |
unchecked(CheckedDoublePredicate predicate) |
|
static java.util.function.DoublePredicate |
unchecked(CheckedDoublePredicate function,
java.util.function.Consumer<java.lang.Throwable> handler) |
boolean test(double value)
throws java.lang.Throwable
value - the input argumenttrue if the input argument matches the predicate,
otherwise falsejava.lang.Throwablestatic java.util.function.DoublePredicate sneaky(CheckedDoublePredicate predicate)
static java.util.function.DoublePredicate unchecked(CheckedDoublePredicate predicate)
static java.util.function.DoublePredicate unchecked(CheckedDoublePredicate function, java.util.function.Consumer<java.lang.Throwable> handler)
Copyright © 2018. All rights reserved.