Stream method survey responses (original) (raw)
Kevin Bourrillion kevinb at google.com
Thu Jan 24 11:53:42 PST 2013
- Previous message: Stream method survey responses
- Next message: Op fusing (was: Stream method survey responses)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Stream method survey responses
- Next message: Op fusing (was: Stream method survey responses)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the lambda-libs-spec-observers mailing list