| net.sf.jga.fn.adaptor.GenerateUnary
All known Subclasses: net.sf.jga.fn.AdaptorVisitor,
GenerateUnary | public class GenerateUnary extends UnaryFunctor (Code) | | UnaryFunctor that returns the result of a nested Generator. The argument
to the UnaryFunctor is ignored.
Copyright © 2004-2005 David A. Hall
author: David A. Hall |
Method Summary | |
public void | accept(net.sf.jga.fn.Visitor v) Calls the Visitor's visit(GenerateUnary) method, if it
implements the nested Visitor interface. | public R | fn(T arg) Returns the results of invoking the generator. | public Generator<R> | getGenerator() Returns the generator whose results are returned. | public String | toString() |
serialVersionUID | final static long serialVersionUID(Code) | | |
accept | public void accept(net.sf.jga.fn.Visitor v)(Code) | | Calls the Visitor's visit(GenerateUnary) method, if it
implements the nested Visitor interface.
|
fn | public R fn(T arg)(Code) | | Returns the results of invoking the generator. The argument is ignored.
|
getGenerator | public Generator<R> getGenerator()(Code) | | Returns the generator whose results are returned.
|
|
|