On Jul 14, 2014, at 5:00 PM, Remi Forax wrote:
> and imagine the case where you know the size of a stream returned by flatMap,
> in that case,
> you may want to split before pumping the values of the stream.
>
Since you don't know the characteristics of the flat mapped streams until you
get th
On 07/14/2014 01:37 PM, Paul Sandoz wrote:
On Jul 14, 2014, at 12:57 PM, Remi Forax wrote:
On 07/14/2014 12:51 PM, Paul Sandoz wrote:
On Jul 12, 2014, at 5:41 PM, Remi Forax wrote:
I was not able to find the answer to my question in the archive,
why Stream.concat is not implemented like t
On Jul 14, 2014, at 12:57 PM, Remi Forax wrote:
>
> On 07/14/2014 12:51 PM, Paul Sandoz wrote:
>> On Jul 12, 2014, at 5:41 PM, Remi Forax wrote:
>>
>>> I was not able to find the answer to my question in the archive,
>>> why Stream.concat is not implemented like this ?
>>>
>>> @SafeVarargs
On 07/14/2014 12:51 PM, Paul Sandoz wrote:
On Jul 12, 2014, at 5:41 PM, Remi Forax wrote:
I was not able to find the answer to my question in the archive,
why Stream.concat is not implemented like this ?
@SafeVarargs
public static Stream concat(Stream... streams) {
return Arrays.str
On Jul 12, 2014, at 5:41 PM, Remi Forax wrote:
> I was not able to find the answer to my question in the archive,
> why Stream.concat is not implemented like this ?
>
> @SafeVarargs
> public static Stream concat(Stream... streams) {
>return Arrays.stream(streams).flatMap(Function.identit