Class BooleanPredicates
java.lang.Object
org.eclipse.collections.impl.block.factory.primitive.BooleanPredicates
public final class BooleanPredicates extends Object
Provides a set of common predicates for boolean values.
-
Method Summary
Modifier and Type Method Description static BooleanPredicate
alwaysFalse()
static BooleanPredicate
alwaysTrue()
static BooleanPredicate
and(BooleanPredicate one, BooleanPredicate two)
static BooleanPredicate
equal(boolean expected)
static BooleanPredicate
isFalse()
static BooleanPredicate
isTrue()
static BooleanPredicate
not(boolean expected)
static BooleanPredicate
not(BooleanPredicate negate)
static BooleanPredicate
or(BooleanPredicate one, BooleanPredicate two)