net.sf.jga.fn.string
Class ParseFormat.Number<T extends java.lang.Number>

java.lang.Object
  extended by net.sf.jga.fn.Functor<R>
      extended by net.sf.jga.fn.UnaryFunctor<java.lang.String,R>
          extended by net.sf.jga.fn.string.ParseFormat<T>
              extended by net.sf.jga.fn.string.ParseFormat.Number<T>
All Implemented Interfaces:
java.io.Serializable, Visitable
Enclosing class:
ParseFormat<R>

public static class ParseFormat.Number<T extends java.lang.Number>
extends ParseFormat<T>

ParseFormat functor for use with Numbers. This class exists as an implementation detail that works around a limit in the javac inferencer -- in all substantive ways, this is simply a ParseFormat functor.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class net.sf.jga.fn.string.ParseFormat
ParseFormat.Date<T extends java.util.Date>, ParseFormat.Number<T extends java.lang.Number>, ParseFormat.Visitor
 
Constructor Summary
ParseFormat.Number(java.lang.Class<T> type, java.text.NumberFormat format)
           
 
Method Summary
 
Methods inherited from class net.sf.jga.fn.string.ParseFormat
accept, fn, getFormat, toString
 
Methods inherited from class net.sf.jga.fn.UnaryFunctor
bind, bind0th, bindNth, compose, compose, compose, composeNth, composeNth, eval, generate, generateNth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParseFormat.Number

public ParseFormat.Number(java.lang.Class<T> type,
                          java.text.NumberFormat format)


Copyright © 2002-2006 David A. Hall. All Rights Reserved.