commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack, Paul" <>
Subject RE: [collections] - Few more collections for the masses... (impor tant for Struts view objects, maybe other projects)
Date Fri, 17 May 2002 17:31:29 GMT
> I don't claim to have fully grokked the reason for the Reserve*
> yet but shouldn't they take a Factory object instead of a Class instance
> array of argument types and an array of argument instances? Something
> these lines...
> public interface Factory {
>     Object createObject();
> }

Christopher Marshal's proposed patch to SoftRefHashMap also uses more or
less the exact same interface; seems a useful addition, though agonizingly

We'd probably want a reflection-based default implementation somewhere.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message