Stream method survey responses
Kevin Bourrillion
kevinb at google.com
Thu Jan 24 11:53:42 PST 2013
On Thu, Jan 24, 2013 at 9:33 AM, Brian Goetz <brian.goetz at oracle.com> wrote:
sorted -- strong desire to add sorted() which uses natural order (or
> throws).
+1, I think.
Could this perhaps yield other benefits? For example, since users are
strenuously urged to make compareTo() consistent with equals() -- or should
be urged even more strenuously to do so -- can .uniqueElements().sorted()
(in either order) do the smart thing?
--
Kevin Bourrillion | Java Librarian | Google, Inc. | kevinb at google.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/lambda-libs-spec-experts/attachments/20130124/f71efd05/attachment.html
More information about the lambda-libs-spec-experts
mailing list