Package com.landawn.abacus.util.function
Interface BooleanPredicate
- All Superinterfaces:
Throwables.BooleanPredicate<RuntimeException>
- Since:
- 0.8
- Author:
- Haiyang Li
-
Field Summary
Modifier and TypeFieldDescriptionstatic final BooleanPredicate
static final BooleanPredicate
static final BooleanPredicate
static final BooleanPredicate
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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)
-
Field Details
-
ALWAYS_TRUE
-
ALWAYS_FALSE
-
IS_TRUE
-
IS_FALSE
-
-
Method Details
-
test
boolean test(boolean value) - Specified by:
test
in interfaceThrowables.BooleanPredicate<RuntimeException>
- Parameters:
value
-- Returns:
-
of
Returns the specified instance.- Parameters:
predicate
-- Returns:
-
negate
- Returns:
-
and
- Parameters:
other
-- Returns:
-
or
- Parameters:
other
-- Returns:
-