stream().mapToInt1 [Java] List<Integer> To int[] 1. For문 public static void main(String[] args) { List list = Arrays.asList(1,2,3,4,4,5,5,6); int[] arr = new int[list.size()]; for( int i=0; i 2022. 4. 26. 이전 1 다음