mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-30 09:50:57 +07:00
8 lines
208 B
Java
8 lines
208 B
Java
// "Replace 'map()' with 'mapToDouble()'" "true-preview"
|
|
import java.util.stream.*;
|
|
|
|
class Test {
|
|
void test() {
|
|
IntStream.range(0, 100).mapToDouble(x -> x/1.0).forEach(s -> System.out.println(s));
|
|
}
|
|
} |