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.


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