sorting and stability

Tim Peierls tim at peierls.net
Tue Mar 26 07:26:19 PDT 2013


On Mon, Mar 25, 2013 at 7:30 PM, Doug Lea <dl at cs.oswego.edu> wrote:

> Prodded by a lambda-dev post, I've been looking more
> carefully into stability guarantees for Stream.sorted().
>
> It struck me that if the stream is ORDERED, then people
> have a reasonable expectation that the sort will be stable.
> Else not.
>
> Agreed?
>

Yes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/lambda-libs-spec-experts/attachments/20130326/14a8aacd/attachment.html 


More information about the lambda-libs-spec-experts mailing list