Adapting an already existing stream API to a Stream (original) (raw)
Brian Goetz brian.goetz at oracle.com
Fri Jan 11 12:11:06 PST 2013
- Previous message: Adapting an already existing stream API to a Stream
- Next message: Adapting an already existing stream API to a Stream
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Adapting an already existing stream API to a Stream
- Next message: Adapting an already existing stream API to a Stream
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the lambda-libs-spec-observers mailing list