net.sf.jga.fn.adaptor |
Provides Functors that allow assembly of primitive functors into compound
structures.
|
Java Source File Name | Type | Comment |
AdaptorFunctors.java | Class | Static factory methods for selected functors in the Adaptor package.
Copyright © 2006 David A. |
AndBinary.java | Class | Binary that performs a shortcircuit and operation using a given pair of
Boolean BinaryFunctors. |
AndGenerator.java | Class | Generator that performs a shortcircuit and operation using a given pair
of Boolean Generators. |
AndUnary.java | Class | Unary that performs a shortcircuit and operation using a given pair of
Boolean UnaryFunctors. |
ApplyBinary.java | Class | Produces an array containing the results of passing a pair of input arguments to
a given set of binary functors.
Copyright © 2004-2005 David A. |
ApplyGenerator.java | Class | Generates an array containing the results produced by zero or more given
generators.
Copyright © 2004-2005 David A. |
ApplyUnary.java | Class | Produces an array containing the results of passing an input argument to a given set of unary
functors.
Copyright © 2004-2005 David A. |
Bind.java | Class | Generator that wraps a given UnaryFunctor, passing a constant value
as the argument of the child functor. |
Bind1st.java | Class | UnaryFunctor that wraps a given BinaryFunctor, passing a constant value
as the first argument of the child functor. |
Bind2nd.java | Class | UnaryFunctor that wraps a given BinaryFunctor, passing a constant value
as the second argument of the child functor. |
ChainBinary.java | Class | Binary Functor that passes the results of a Binary Functor as the argument
to a Unary Functor. |
ChainUnary.java | Class | Unary Functor that passes the results of one Unary Functor as the argument
to another Unary Functor. |
ComposeBinary.java | Class | Binary Functor that passes the results of two inner Binary Functors as the
arguments to an outer Binary Functor. |
ComposeUnary.java | Class | Unary Functor that passes the results of two Unary Functors as the arguments
to a Binary Functor. |
CompoundBinary.java | Class | Executes two BinaryFunctors, returning the results of the second.
Copyright © 2005 David A. |
CompoundGenerator.java | Class | Executes two generators, returning the results of the second.
Copyright © 2005 David A. |
CompoundUnary.java | Class | Executes two UnaryFunctors, returning the results of the second.
Copyright © 2005 David A. |
ConditionalBinary.java | Class | BinaryFunctor that tests a condition, executes one of two given functors, and
returns the result. |
ConditionalGenerator.java | Class | Generator that tests a condition, executes one of two given functors, and
returns the result. |
ConditionalUnary.java | Class | UnaryFunctor that tests a condition, executes one of two given functors, and
returns the result. |
Constant.java | Class | Functor that returns the constant value given at construction. |
ConstantBinary.java | Class | Functor that returns the constant value given at construction.
To Serialize a ConstantBinary, the generic parameter V must be serializable.
Copyright © 2003-2005 David A. |
ConstantUnary.java | Class | Functor that returns the constant value given at construction.
To Serialize a ConstantUnary, the generic parameter V must be serializable.
Copyright © 2003-2005 David A. |
Distribute.java | Class | Binary Functor that passes its two arguments to two inner Unary Functors,
and uses the results as arguments to an outer Binary Functor. |
Generate.java | Class | Generator that wraps a UnaryFunctor around a nested Generator. |
Generate1st.java | Class | UnaryFunctor that uses a Generator to produce the 1st argument to a given
BinaryFunctor.
Copyright © 2004-2005 David A. |
Generate2nd.java | Class | UnaryFunctor that uses a Generator to produce the 2nd argument to a given
BinaryFunctor.
Copyright © 2004-2005 David A. |
GenerateBinary.java | Class | BinaryFunctor that returns the result of a nested Generator. |
GenerateUnary.java | Class | UnaryFunctor that returns the result of a nested Generator. |
Identity.java | Class | Unary Functor that returns the runtime argument.
Copyright © 2002-2005 David A. |
OrBinary.java | Class | Binary that performs a shortcircuit or operation using a given pair of
Boolean BinaryFunctors. |
OrGenerator.java | Class | Generator that performs a shortcircuit or operation using a given pair
of Boolean Generators. |
OrUnary.java | Class | Unary that performs a shortcircuit or operation using a given pair of
Boolean UnaryFunctors. |
Project1st.java | Class | Binary Functor that returns the first of two runtime arguments.
Copyright © 2002-2005 David A. |
Project2nd.java | Class | Binary Functor that returns the second of two runtime arguments.
Copyright © 2002-2005 David A. |
Random.java | Class | Functor that returns a pseudorandom value using Math.random(). |