net.sf.jga.fn |
Provides base definitions for Functors, Predicates, Visitors.
|
Java Source File Name | Type | Comment |
AbstractVisitor.java | Class | Shell implementation of Visitor. |
AdaptorVisitor.java | Class | Visitor that performs a walk of compound functor structures. |
BinaryFunctor.java | Class | A Function Object that takes two arguments and returns a result. |
BinaryPredicate.java | Class | A Predicate that takes two arguments and returns a boolean result. |
EvaluationException.java | Class | General runtime exception thrown when evaluating functors and predicates.
Copyright © 2002-2005 David A. |
Functor.java | Class | A Function object that accepts an arbitrary number of arguments and returns
a value of type R. |
Generator.java | Class | Functor that takes no arguments and produces a single result. |
UnaryFunctor.java | Class | A Function Object that takes one argument and returns a result. |
UnaryPredicate.java | Class | A Predicate that takes one argument and returns a boolean result. |
Visitable.java | Interface | Defines an interface for classes that may be interpreted by a Visitor.
jga uses the AcyclicVisitor
pattern to provide a structure for implementing Visitor. |
Visitor.java | Interface | Defines an interface for classes that may interpret functors or predicates.
jga uses the AcyclicVisitor
pattern to provide a structure for implementing Visitor. |