Interface PredicateProcessor
-
- All Known Implementing Classes:
AndOrSimplifier
,BooleanSimplifier
,ComplexNodeTransformer
,NotNodeReorderer
,OrSimplifier
- 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 PredicateProcessor
A predicate processor takes a predicate, processes it and returns the result. Predicate optimisers typically implement this interface. Note that the interface does not give any guarantees if the processor will modify the predicate in-place or return a new instance.- Author:
- bjorncs
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Predicate
process(Predicate predicate, PredicateOptions options)
Processes a predicate.
-
-
-
Method Detail
-
process
Predicate process(Predicate predicate, PredicateOptions options)
Processes a predicate.- Returns:
- the processed predicate.
-
-