| net.sf.jga.fn.adaptor.ChainBinary
All known Subclasses: net.sf.jga.fn.AdaptorVisitor,
ChainBinary | public class ChainBinary extends BinaryFunctor (Code) | | Binary Functor that passes the results of a Binary Functor as the argument
to a Unary Functor. This allows for the construction of compound
functors from the primitives found in the arithmetic, logical, property, and
comparison packages.
Copyright © 2002-2005 David A. Hall
author: David A. Hall |
serialVersionUID | final static long serialVersionUID(Code) | | |
accept | public void accept(net.sf.jga.fn.Visitor v)(Code) | | Calls the Visitor's visit(ChainBinary) method, if it
implements the nested Visitor interface.
|
fn | public R fn(T1 x, T2 y)(Code) | | Passes arguments x and y to the inner functor, and passes
the result to the outer functor.
f(g(x,y)) |
getInnerFunctor | public BinaryFunctor<T1, T2, F> getInnerFunctor()(Code) | | Returns the inner functor
the inner functor |
getOuterFunctor | public UnaryFunctor<F, R> getOuterFunctor()(Code) | | Returns the outer functor
the outer functor |
|
|