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.
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
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
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