-
How to convert List to int[] in Java?
1 | int[] array = list.stream().mapToInt(i->i).toArray(); |
How to convert int[] into List in Java?
1 | int[] ints = {1,2,3}; |
Update your browser to view this website correctly. Update my browser now