double, average(Collection a) Compute the average for a Collection of numeric types double sum = 0; for (Object x : a) { if (x instanceof Double) { sum += ...
確定! 回上一頁