On 2/03/2012 10:39 AM, Kevin Bourrillion wrote: <snip>
The status quo is that the user who actually experiences this problem can, at worst, replaceCollections.sort(list); with if (list.size()> 1) Collections.sort(list); ... that doesn't seem so bad to me.
It is horrendous if you usually have very large collections and a size() operation that is not constant.
In the future operations like sort() may be part of the collection interfaces so you would expect to be able to apply them to any collection and to chain operations together in a pipeline.
Just my $.01 ...
And mine David
