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