Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #31786
| Newsgroups | comp.lang.java.programmer |
|---|---|
| Date | 2015-06-10 03:19 -0700 |
| References | <Nfy4x.122164$566.49072@fx20.iad> |
| Message-ID | <69de3a5f-1a3d-4e07-9ca3-176bd94c187b@googlegroups.com> (permalink) |
| Subject | Re: Puzzler: Fun with Streams. |
| From | javadiscover@gmail.com |
On Wednesday, May 13, 2015 at 7:31:28 AM UTC+5:30, Daniel Pitts wrote: > It occurred to me that I could write this little snippet someplace, and > it would work. > > return stream.filter(o->o<-o); > > stream is an object which implements java.util.stream.BaseStream, though > I won't tell you which one > > Might be obvious to everyone, but I thought it was a good little puzzler. > > What input do you think this will work with, and what is the result? -------------------------- visit for more java interview questions and programs - http://javadiscover.blogspot.com
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread
Puzzler: Fun with Streams. Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2015-05-12 19:01 -0700
Re: Puzzler: Fun with Streams. Jeff Higgins <jeff@invalid.invalid> - 2015-05-13 08:21 -0400
Re: Puzzler: Fun with Streams. Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2015-05-13 12:49 -0700
Re: Puzzler: Fun with Streams. scattered <rescattered@gmail.com> - 2015-05-18 05:49 -0700
Re: Puzzler: Fun with Streams. scattered <rescattered@gmail.com> - 2015-05-18 06:29 -0700
Re: Puzzler: Fun with Streams. javadiscover@gmail.com - 2015-06-10 03:19 -0700
csiph-web