mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-20 11:36:16 +07:00
11 lines
317 B
Java
11 lines
317 B
Java
// "Replace with 'boxed'" "true"
|
|
|
|
import java.util.List;
|
|
import java.util.stream.Collectors;
|
|
import java.util.stream.DoubleStream;
|
|
|
|
public class Main {
|
|
public static void main(String[] args) {
|
|
List<Double> list = DoubleStream.of(1,2,3,4).map<caret>ToObj((x) -> new Double(x)).collect(Collectors.toList());
|
|
}
|
|
} |