Interface BooleanPredicate
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
BooleanPredicates.AlwaysFalseBooleanPredicate
,BooleanPredicates.AlwaysTrueBooleanPredicate
,BooleanPredicates.AndBooleanPredicate
,BooleanPredicates.FalsePredicate
,BooleanPredicates.IsFalseBooleanPredicate
,BooleanPredicates.IsTrueBooleanPredicate
,BooleanPredicates.NotBooleanPredicate
,BooleanPredicates.OrBooleanPredicate
,BooleanPredicates.TruePredicate
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface BooleanPredicate extends java.io.Serializable
BooleanPredicate is a primitive Predicate which may be used to reduce the overhead of autoboxing Boolean objects in places where primitive booleans could be used. This file was automatically generated from template file primitivePredicate.stg.- Since:
- 3.0.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
accept(boolean value)
-