commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ola Berg" <>
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?


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message