----- Original Message -----
From: "Morgan Delagrange" <[EMAIL PROTECTED]>
To: "Jakarta Commons Developers" <[EMAIL PROTECTED]>
Sent: Thursday, February 14, 2002 4:56 PM
Subject: [Collections] Comment on LRUMap.removeLRU()


> Seems like an odd method (besides the fact that it didn't actually work
> until this week ;)  It returns the key of the Object that was removed from
> the Map.  Don't you think it should return both the key and the value,
> perhaps as an Object[] array?  After all, you have no way to use that key;
> the value is already gone.
>
> Technically, there's nothing we can do about it until Collections 2.x, but
> maybe in the Javadocs we should announce an intention to deprecate it for
a
> more appropriate call?
>

Correction.  We could actually deprecate it now and provide an alternative
for the 1.1 release.  Any reason not to?

- Morgan


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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

Reply via email to