Yes, Lists and Maps. Most implementations will return immutable Lists and Maps, but 
some will return mutable ones.

After all, wouldn't it be nice to be able to add a property or operation to a Class 
(Clazz) dynamically at runtime??

Stephen


>  from:    Dmitri Plotnikov <[EMAIL PROTECTED]>
> Victor,
> 
> I guess my choice would be immutable lists.
> 
> - Dmitri
> 
> 
> --- Victor Volle <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > 
> 
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to