84c473d800
Avoid calling InetAddress.getLocalHost() that can be very slow. Exact connection or disconnection string isn't relevant for tests anyway.
19 lines
596 B
Plaintext
Vendored
19 lines
596 B
Plaintext
Vendored
LineBreakpoint created at collections.kt:6
|
|
Run Java
|
|
Connected to the target VM
|
|
collections.kt:6
|
|
Compile bytecode for arrayListOf(1, 2).map { it.toString() }
|
|
Compile bytecode for arrayListOf(1, 2, 101, 102).filter { it > 100 }
|
|
Compile bytecode for arrayListOf(1, 2).max()
|
|
Compile bytecode for arrayListOf(1, 2).count()
|
|
Compile bytecode for arrayListOf(1, 2).size
|
|
Compile bytecode for arrayListOf(1, 2, 3).drop(1)
|
|
Compile bytecode for ar.map { if (it > 50) "big" else "small" }
|
|
.filter { it == "small" }
|
|
.size
|
|
|
|
// RESULT: 2: I
|
|
Disconnected from the target VM
|
|
|
|
Process finished with exit code 0
|