String array change to IntegerList

String[] arr = {'1', '2', '3'}
List<Integer> numList = Arrays.stream(arr )
            .map(Integer::parseInt)
            .collect(Collectors.toList());
arrow
arrow
    創作者介紹
    創作者 咪卡恰比 的頭像
    咪卡恰比

    咪卡四處看

    咪卡恰比 發表在 痞客邦 留言(0) 人氣()