Yep, Iterable has a whole bunch of methods including flatMap. On Thu, Oct 25, 2012 at 4:46 PM, Simon Ochsenreither <[email protected]> wrote: > >> And here is the rub: Optional would be the only type in the JDK that has >> this property. >> >> It would be a bit like being the only person on the planet with a fax >> machine. If all that I can do is composing Optionals with other Optionals, >> the value is severely limited. Once/if Optional gains flatMap, won't you >> want List to get it as well? And Map? And TreeSets? > > > It seems to be a tradition that some people never do their research... > > FYI: http://cr.openjdk.java.net/~briangoetz/lambda/collections-overview.html > > -- > You received this message because you are subscribed to the Google Groups > "Java Posse" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/javaposse/-/jARmw54ckK0J. > > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/javaposse?hl=en.
-- You received this message because you are subscribed to the Google Groups "Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
