commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hope, Matthew" <>
Subject RE: [collections] CollectionUtils.index() behavior
Date Tue, 23 Sep 2003 11:10:15 GMT
-----Original Message-----
From: Phil Steitz [] 
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...

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.

View raw message