commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitri Plotnikov <dplot...@yahoo.com>
Subject Re: [clazz] general question: return List or Array
Date Mon, 02 Dec 2002 15:00:44 GMT
Victor,

I guess my choice would be immutable lists.

- Dmitri


--- Victor Volle <victor.volle@gmxpro.net> wrote:
> Hi,
> 
> I have a general question about the API.
> Should the return types be Lists or Arrays?
> 
> If normal Lists are returned I client might 
> manipulate the List (imagine adding a method
> to a class loaded by reflection??). We could
> return immutable Lists or Arrays as in 
> java.lang.Class or in java.lang.reflect.Method.
> 
> What do you think?
> 
> -- Victor
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:commons-dev-help@jakarta.apache.org>
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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


Mime
View raw message