commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ola Berg" <ola.b...@ports.se>
Subject Re: [collections] ClassMap and others
Date Wed, 23 Oct 2002 08:30:12 GMT
> In fact, the 
> Collections.iterator() documentation explicitly states that:  "There are 
> no guarantees concerning the order in which the elements are returned 

Or to put it simple: A Collection has no order, it is a bag. The method isSorted can only
apply to sequentially ordered collections, such as lists.

/O


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message