LongStream flatMapToLong(Function<? super T,? extends LongStream> mapper)
Tlhis intermediate operation returns an LongStream consisting of the results of replacing each element of this stream with the contents of a mapped stream produced by applying the provided mapping function to each element.