Provides Functors and Predicates that implement boolean logic.
See: Description
Interface Summary | |
---|---|
All.Visitor | Interface for classes that may interpret an All predicate. |
Any.Visitor | Interface for classes that may interpret an Any predicate. |
BinaryNegate.Visitor | Interface for classes that may interpret a BinaryNegate predicate. |
LogicalAnd.Visitor | Interface for classes that may interpret a LogicalAnd predicate. |
LogicalNot.Visitor | Interface for classes that may interpret a LogicalNot predicate. |
LogicalOr.Visitor | Interface for classes that may interpret a LogicalOr predicate. |
UnaryNegate.Visitor | Interface for classes that may interpret a UnaryNegate predicate. |
Class Summary | |
---|---|
All<T> | Unary Predicate that returns true when each of 0 or more branch predicates returns true. |
Any<T> | Unary Predicate that returns true when one of 0 or more branch predicates returns true. |
BinaryNegate<T1,T2> | Binary Predicate that logically negates the result of a child predicate. |
LogicalAnd | Binary Predicate that returns true when Boolean arguments x and y are both true. |
LogicalNot | Unary Predicate that returns true when Boolean argument x is false. |
LogicalOr | Binary Predicate that returns true when either of Boolean arguments x and y are true. |
UnaryNegate<T> | Binary Predicate that logically negates the result of a child predicate. |
The LogicalAnd, LogicalOr, and LogicalNot predicates operate on Boolean values. The others are Predicates that operate on the results of child predicates, generally passed to their constructors.