List <Integer> lista = Arrays.asList(1, 5, 8, 7, 4, 2, 3, 2, 1, 8, 5, 7, 4); lista.stream() .map(e -> e * 2) // multiplica cada item por 2 .
確定! 回上一頁