Adapting an already existing stream API to a Stream

Brian Goetz brian.goetz at oracle.com
Fri Jan 11 12:11:06 PST 2013


Blocks don't return anything.  Where do the elements go?

On 1/11/2013 3:00 PM, Remi Forax wrote:
> Let say I have an API with one static method generateAll that takes a
> Block as parameter and generate all elements by calling the Block n times.
> How can I create a Stream on top of this API ?
>
> Rémi
>


More information about the lambda-libs-spec-experts mailing list