transformieren Sie das primitive Float -Array in das Schweben -Array
double[] primitives = new double[]{1.1, 1.2, 1.3, 1.4};
Double[] objects = Arrays.stream(primitives)
.boxed()
.toArray(Double[]::new);
Code language: Java (java)
Tame Tortoise