| net.sf.jga.fn.adaptor.ChainUnary
All known Subclasses: net.sf.jga.fn.AdaptorVisitor,
ChainUnary | public class ChainUnary extends UnaryFunctor (Code) | | Unary Functor that passes the results of one Unary Functor as the argument
to another 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(BinaryCompose) method, if it
implements the nested Visitor interface.
|
fn | public R fn(T x)(Code) | | Given argument x, passes x to the inner functor, and passes the
result to the outer functor.
f(g(x)) |
getInnerFunctor | public UnaryFunctor<T, F> getInnerFunctor()(Code) | | Returns the inner functor
the inner functor |
getOuterFunctor | public UnaryFunctor<F, R> getOuterFunctor()(Code) | | Returns the outer functor
the outer functor |
|
|