mapToDouble(num -> num).average().getAsDouble();. Copy. 2. Old Style double sum = 0.0; for (Integer num : numbers) { sum += num; } ...
確定! 回上一頁