Grouping stream elements by their position - how to handle tail of stream ?

Günter Jantzen guenter.jantzen at
Sun Feb 3 08:14:14 PST 2013

Hello together,

I am happy that we will receive very powerful tools in Java 8, but
the involved concepts from functional programming and category theory
("catamorphism") are not quite easy to grasp. So, looking in the sources
is a good advice, but sometimes still very puzzling.

It is quite helpful to receive a together with the weekly
binaries. But it would be even more helpful to receive a
containing the actual tests, too.

The tests contain not only a lot of examples, which are a good starting
point to play around. They have the extra benefit to be *working*
examples. A real benefit, because searching in the internet points
mostly to examples which are not very interesting or out to date.
(BTW very helpful and always up to date are these oneliners: 
So for all of us, who don't build their own java, test sources
included in the weekly binary distribution could be really helpful.

Best regards and thanks for all this beauty work!

Am Samstag, den 02.02.2013, 23:04 -0500 schrieb Brian Goetz:
> Look at the implementations in Collectors for a hint.  Obviously we owe 
> some significant documentation, which unfortunately lags the code by too 
> much.  

More information about the lambda-dev mailing list