Using Java 8 IntStream average() method. List<Integer> list = Arrays.asList(1, 2, 3, 4, 5, 6, 7, 8); OptionalDouble ...
確定! 回上一頁