Since Java 8, there are some standard options to do this in JDK: Collection<E> in = ... Object[] mapped = in.stream().map(e -> doMap(e)).
確定! 回上一頁