| net.sf.jga.fn.string.FormatValue
FormatValue | public class FormatValue extends UnaryFunctor (Code) | | Unary Functor that generates a formatted string for a given value.
Copyright © 2003-2005 David A. Hall
author: David A. Hall |
Method Summary | |
public void | accept(net.sf.jga.fn.Visitor v) Calls the Visitor's visit(FormatValue) method, if it
implements the nested Visitor interface. | public String | fn(T arg) Formats the argument using the java.text.Format given at construction. | public Format | getFormat() Returns the format object used to present values in formatted form. | 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(FormatValue) method, if it
implements the nested Visitor interface.
|
fn | public String fn(T arg)(Code) | | Formats the argument using the java.text.Format given at construction.
Parameters: arg - the value to formatted the formatted value |
getFormat | public Format getFormat()(Code) | | Returns the format object used to present values in formatted form.
the format used to present values |
|
|