| net.sf.jga.fn.adaptor.Generate1st
All known Subclasses: net.sf.jga.fn.AdaptorVisitor,
Generate1st | public class Generate1st extends UnaryFunctor (Code) | | UnaryFunctor that uses a Generator to produce the 1st 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(Generate1st) method, if it
implements the nested Visitor interface.
|
fn | public R fn(T2 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<T1> getGenerator()(Code) | | Returns the generator that produces the 1st argument.
|
|
|