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:35:12 GMT
The isSorted() method answers questions about the ordering of elements in a sequentially ordered
collection. But the ordering can vary, that's why you can sort using different comparators.
Therefore I propose

isSorted( Comparator). The method isSorted() checks according to the default ordering, and
isSorted( Comparator) uses the provided ordering. A good idea?

/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