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