| net.sf.jga.fn.adaptor.Generate
All known Subclasses: net.sf.jga.fn.AdaptorVisitor,
Generate | public class Generate extends Generator (Code) | | Generator that wraps a UnaryFunctor around a nested Generator. The values
produced by the nested generator are passed to the functor, and the results
returned to the caller.
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(Generate) method, if it
implements the nested Visitor interface.
|
gen | public R gen()(Code) | | Returns the results of the nested generator as modified by the functor.
|
getFunctor | public UnaryFunctor<T, R> getFunctor()(Code) | | Returns the UnaryFunctor that is applied to values returned by the
nested Generator.
|
getGenerator | public Generator<T> getGenerator()(Code) | | Returns the nested Generator;
|
|
|