If you use Java 8 or above, you might want to use Stream for this trivial task. ... min, max, sum, and average about the elements of the stream.
確定! 回上一頁