blob: edee837ccbe774fd2c92419a87a2ec523a9c4964 [file]
import java.util.stream.Stream;
public class FlatMap {
public static void main(String[] args) {
// Breakpoint!
final long res = Stream.of(1, 4).flatMap(x -> Stream.of(x + 1, x + 2)).count();
}
}