Interface Predicate
- All Superinterfaces:
ASTNode,Expression<Boolean>
-
Method Summary
Modifier and TypeMethodDescriptionand(com.liferay.petra.function.UnsafeSupplier<Expression<Boolean>, T> unsafeSupplier) and(Expression<Boolean> expression) static Predicatenot()static Predicateor(com.liferay.petra.function.UnsafeSupplier<Expression<Boolean>, T> unsafeSupplier) or(Expression<Boolean> expression) static Predicatestatic PredicatewithParentheses(Predicate predicate)
-
Method Details
-
and
-
not
-
or
-
withParentheses
-
and
-
and
default <T extends Throwable> Predicate and(com.liferay.petra.function.UnsafeSupplier<Expression<Boolean>, T> unsafeSupplier) throws T- Throws:
T extends Throwable
-
not
Predicate not() -
or
-
or
default <T extends Throwable> Predicate or(com.liferay.petra.function.UnsafeSupplier<Expression<Boolean>, T> unsafeSupplier) throws T- Throws:
T extends Throwable
-
withParentheses
Predicate withParentheses()
-