public interface BooleanPredicate extends Try.BooleanPredicate<java.lang.RuntimeException>
Modifier and Type | Field and Description |
---|---|
static BooleanPredicate |
ALWAYS_FALSE |
static BooleanPredicate |
ALWAYS_TRUE |
static BooleanPredicate |
IS_FALSE |
static BooleanPredicate |
IS_TRUE |
Modifier and Type | Method and Description |
---|---|
default BooleanPredicate |
and(BooleanPredicate other) |
default BooleanPredicate |
negate() |
static BooleanPredicate |
of(BooleanPredicate predicate)
Returns the specified instance
|
default BooleanPredicate |
or(BooleanPredicate other) |
boolean |
test(boolean value) |
static final BooleanPredicate ALWAYS_TRUE
static final BooleanPredicate ALWAYS_FALSE
static final BooleanPredicate IS_TRUE
static final BooleanPredicate IS_FALSE
boolean test(boolean value)
test
in interface Try.BooleanPredicate<java.lang.RuntimeException>
static BooleanPredicate of(BooleanPredicate predicate)
predicate
- default BooleanPredicate negate()
default BooleanPredicate and(BooleanPredicate other)
default BooleanPredicate or(BooleanPredicate other)