blob: 0de9552f69ac24559f10c5aa1ee31a38c6cc6165 [file]
LineBreakpoint created at FlatMapPrimitive.java:7
!JDK_HOME!\bin\java -agentlib:jdwp=transport=dt_socket,address=!HOST_NAME!:!HOST_PORT!,suspend=y,server=n -Dfile.encoding=!FILE_ENCODING! -classpath !OUTPUT_PATH!;!RT_JAR! FlatMapPrimitive
Connected to the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
FlatMapPrimitive.java:7
Stream.of(1, 5, 9)
.flatMapToDouble(x -> DoubleStream.of(x + 1, x + 2, x + 3))
.toArray()
flatMapToDouble
before: 1,5,9
after: 2,3,4,6,7,8,10,11,12
toArray
before: 2,3,4,6,7,8,10,11,12
after: 13,14,15,16,17,18,19,20,21
mappings for flatMapToDouble
direct:
1 -> 2,3,4
5 -> 6,7,8
9 -> 10,11,12
reverse:
1 <- 2
1 <- 3
1 <- 4
5 <- 6
5 <- 7
5 <- 8
9 <- 10
9 <- 11
9 <- 12
mappings for toArray
direct:
2 -> 13
3 -> 14
4 -> 15
6 -> 16
7 -> 17
8 -> 18
10 -> 19
11 -> 20
12 -> 21
reverse:
2 <- 13
3 <- 14
4 <- 15
6 <- 16
7 <- 17
8 <- 18
10 <- 19
11 <- 20
12 <- 21
Disconnected from the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
Process finished with exit code 0