-----Original Message-----
From: Phil Steitz [mailto:[EMAIL PROTECTED] 
Sent: 21 September 2003 19:10
To: Jakarta Commons Developers List
Subject: Re: [collections] CollectionUtils.index() behavior

>OK, I will leave as is, but I personally see this as bad design -- maps 
>are not ordered

Not so - Maps do not *guarantee order* but implementations are free to do so
(and for an OrderedMap implementation must do so)

Certainly the addition of a unit test on an ordered map would be a good idea
as well...

Matt
 
**************************************************************************
The information transmitted herewith is sensitive information intended only
for use by the individual or entity to which it is addressed. If the reader
of this message is not the intended recipient, you are hereby notified that
any review, retransmission, dissemination, distribution, copying or other
use of, or taking of any action in reliance upon this information is
strictly prohibited. If you have received this communication in error,
please contact the sender and delete the material from your computer.

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

Reply via email to