Package net.sf.jga.fn.logical

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.
LogicalFunctors Static factory methods for the functors in the Logical package.
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> Unary Predicate that logically negates the result of a child predicate.
 

Package net.sf.jga.fn.logical Description

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.



Copyright © 2002-2006 David A. Hall. All Rights Reserved.