blob: 14bdb9c95754edc5794dd0f21c388cdd99e508cf [file]
LineBreakpoint created at LinkedChains.java:8
!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! LinkedChains
Connected to the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
LinkedChains.java:8
Stream
.of(1, 2, 3, 4, 5, 6).map(x -> x * x).collect(Collectors.toList())
.stream()
.filter(x -> x % 2 == 0)
.collect(Collectors.toList())
filter
before: 1,2,4,5,7,8
after: 3,6,9
collect
before: 3,6,9
after: 10,11,12
mappings for filter
direct:
1 -> nothing
2 -> 3
4 -> nothing
5 -> 6
7 -> nothing
8 -> 9
reverse:
2 <- 3
5 <- 6
8 <- 9
mappings for collect
direct:
3 -> 10
6 -> 11
9 -> 12
reverse:
3 <- 10
6 <- 11
9 <- 12
Disconnected from the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
Process finished with exit code 0