Re: [Collections] ReadOnly Collection decorators

2002-06-11 Thread Christopher Elkins
On Monday, June 10, 2002, at 12:02 PM, Michael A. Smith wrote: the only thing missing would be an unmodifiable bag, sorted bag, and iterator. FWIW, I submitted a patch for the iterator case quite a while ago, but it was never added to CVS.

[Collections] ReadOnly Collection decorators

2002-06-10 Thread Jonathan Carlson
I'd really like to see some ReadOnly Collection decorators for all of the Collection and Iterator interfaces and subinterfaces. When I return a collection or iterator from a framework I don't want to trust that no one will modify those collections if they represent something internal. Using

RE: [Collections] ReadOnly Collection decorators

2002-06-10 Thread Jack, Paul
Message- From: Jonathan Carlson [mailto:[EMAIL PROTECTED]] Sent: Monday, June 10, 2002 11:53 AM To: [EMAIL PROTECTED] Subject: [Collections] ReadOnly Collection decorators I'd really like to see some ReadOnly Collection decorators for all of the Collection and Iterator interfaces

Re: [Collections] ReadOnly Collection decorators

2002-06-10 Thread Michael A. Smith
On Mon, 10 Jun 2002, Jonathan Carlson wrote: I'd really like to see some ReadOnly Collection decorators for all of the Collection and Iterator interfaces and subinterfaces. When I return a collection or iterator from a framework I don't want to trust that no one will modify those