| net.sf.jga.fn.adaptor.Generate2nd
All known Subclasses: net.sf.jga.fn.AdaptorVisitor,
Generate2nd | public class Generate2nd extends UnaryFunctor (Code) | | UnaryFunctor that uses a Generator to produce the 2nd argument to a given
BinaryFunctor.
Copyright © 2004-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(Generate2nd) method, if it
implements the nested Visitor interface.
|
fn | public R fn(T1 arg)(Code) | | Returns the results of the functor, using the nested generator to
produce the first argument.
|
getFunctor | public BinaryFunctor<T1, T2, R> getFunctor()(Code) | | Returns the Functor that is invoked
|
getGenerator | public Generator<T2> getGenerator()(Code) | | Returns the generator that produces the 2nd argument.
|
|
|