commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: [lang] Generic object factories
Date Sat, 26 Dec 2009 20:22:18 GMT
This interface seems so generic as to be difficult to understand what the
motivation is.

I can see the point of a one method interface like Comparable, but how does
ObjectFactory<T> help?  Is your goal documentation?  Name standardization?
Reflection marker?

On Sat, Dec 26, 2009 at 11:34 AM, Oliver Heger <oliver.heger@oliver-heger.de
> wrote:

> public interface ObjectFactory<T> {
>    T create();
> }
> Does this make sense?




-- 
Ted Dunning, CTO
DeepDyve

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message