commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Pugh" <ep...@upstate.com>
Subject RE: [configuration] AbstractConfiguration.Container
Date Wed, 16 Jun 2004 17:25:06 GMT
To be honest, I never quite grokked the AbstractConfiguration.Container..
It seemed to be  used to distingush between a List and a non list...
ERic

> -----Original Message-----
> From: Emmanuel Bourg [mailto:ebourg@micropole-univers.com]
> Sent: Wednesday, June 16, 2004 6:45 PM
> To: Jakarta Commons Developers List
> Subject: [configuration] AbstractConfiguration.Container
>
>
> What is the motivation for the inner class Container in
> AbstractConfiguration ? Why not using a List directly instead ? I guess
> the value is the asList() method performing a copy of the internal List,
> but I believe returning the internal List would be better actually, it
> should be up to the user to decide to copy the list and work on it
> without affecting the configuration.
>
> What do you think ?
>
> Emmanuel Bourg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message