net.sf.jga.fn.string
Class ParseFormat.Date<T extends java.util.Date>

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.Date<T>
All Implemented Interfaces:
java.io.Serializable, Visitable
Enclosing class:
ParseFormat<R>

public static class ParseFormat.Date<T extends java.util.Date>
extends ParseFormat<T>

ParseFormat functor for use with Dates. 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.Date(java.lang.Class<T> type, java.text.DateFormat 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.Date

public ParseFormat.Date(java.lang.Class<T> type,
                        java.text.DateFormat format)


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