Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #33968
| From | Rhino <no_offline_contact@example.com> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Lambda reference? |
| Date | 2016-03-14 21:55 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <nc7pub$1f1$1@dont-email.me> (permalink) |
| References | <nc770d$u97$1@dont-email.me> <options-20160315003020@ram.dialup.fu-berlin.de> |
On 3/14/2016 7:34 PM, Stefan Ram wrote: > Rhino <no_offline_contact@example.com> writes: >> I'd like to know what *all* my options[ are], not just .stream and .filter. > > docs.oracle.com/javase/8/docs/api > > Since anyone can write new pipeline operations, the options > are unlimited. But your options are not restricted to Java, > *all* options include the possibility that you might travel > to Japan and start to work as a fisher and cook there. > How would I write that in Java? ;-) >> I'm also curious to know what are all the things I can do on the last line. > > A terminal operation, such as forEach, produces a non-stream > result, such as a primitive value (like a double value), a > collection, or in the case of forEach, no value at all. > > For example: > > Intermediate: map > Intermediate: sorted > Terminal: forEach > Terminal: reduce > Terminal: collect > Terminal: collect with multi args > Terminal: collect with groupingBy > Terminal: count > groupingBy? Very very nice; that's exactly what I'm looking for. :-) >> I assume there is a reference manual somewhere that tells me all the >> things I can do with my collection using Lambdas but I'm not seeing any >> pointer to that manual in the Oracle material. > > docs.oracle.com/javase/tutorial/collections/streams/ > Excellent! I had trouble finding this in the API. Now I've got a chance to figure this out.... Thank you, Stefan! -- Rhino
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread
Lambda reference? Rhino <no_offline_contact@example.com> - 2016-03-14 16:32 -0400
Re: Lambda reference? Sebastian <news@seyweiler.dyndns.org> - 2016-03-14 21:50 +0100
Re: Lambda reference? Eric Sosman <esosman@comcast-dot-net.invalid> - 2016-03-14 17:16 -0400
Re: Lambda reference? Rhino <no_offline_contact@example.com> - 2016-03-14 18:29 -0400
Re: Lambda reference? Eric Douglas <e.d.programmer@gmail.com> - 2016-03-16 04:53 -0700
Re: Lambda reference? Eric Sosman <esosman@comcast-dot-net.invalid> - 2016-03-16 08:38 -0400
Re: Lambda reference? Eric Sosman <esosman@comcast-dot-net.invalid> - 2016-03-16 08:45 -0400
Re: Lambda reference? Sebastian <news@seyweiler.dyndns.org> - 2016-03-16 21:33 +0100
Re: Lambda reference? Robert Klemme <shortcutter@googlemail.com> - 2016-03-25 18:35 +0100
Re: Lambda reference? Eric Douglas <e.d.programmer@gmail.com> - 2016-03-28 07:06 -0700
Re: Lambda reference? Robert Klemme <shortcutter@googlemail.com> - 2016-03-31 00:09 +0200
Re: Lambda reference? Eric Douglas <e.d.programmer@gmail.com> - 2016-03-31 04:42 -0700
Re: Lambda reference? Robert Klemme <shortcutter@googlemail.com> - 2016-03-31 18:35 +0200
Re: Lambda reference? Eric Douglas <e.d.programmer@gmail.com> - 2016-03-31 11:21 -0700
Re: Lambda reference? Rhino <no_offline_contact@example.com> - 2016-03-14 21:55 -0400
csiph-web