net.sf.jga.fn.logical |
Provides Functors and Predicates that implement boolean logic.
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.
|
Java Source File Name | Type | Comment |
All.java | Class | Unary Predicate that returns true when each of 0 or more branch predicates
returns true. |
Any.java | Class | Unary Predicate that returns true when one of 0 or more branch predicates
returns true. |
BinaryNegate.java | Class | Binary Predicate that logically negates the result of a child predicate.
Returns true when child predicate p returns false given object
arguments x and y.
Copyright © 2002-2005 David A. |
LogicalAnd.java | Class | Binary Predicate that returns true when Boolean arguments x
and y are both true.
Note that this functor does not short circuit the evaluation
of the second argument. |
LogicalFunctors.java | Class | Static factory methods for the functors in the Logical package.
Copyright © 2006 David A. |
LogicalNot.java | Class | Unary Predicate that returns true when Boolean argument x is false.
Copyright © 2002-2005 David A. |
LogicalOr.java | Class | Binary Predicate that returns true when either of Boolean arguments x
and y are true.
Note that this functor does not short circuit the evaluation
of the second argument. |
UnaryNegate.java | Class | Unary Predicate that logically negates the result of a child predicate.
Returns true when child predicate p returns false given object
argument x.
Copyright © 2002-2005 David A. |