mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 17:20:54 +07:00
8 lines
196 B
Java
8 lines
196 B
Java
// "Replace 'mapToInt()' with 'map()'" "true-preview"
|
|
import java.util.stream.*;
|
|
|
|
class Test {
|
|
void test() {
|
|
LongStream.range(0, 100).map(x -> x*2).forEach(s -> System.out.println(s));
|
|
}
|
|
} |