How do I convert int[] into List in Java?
int[]
List
Of course, I\'m interested in any other answer than doing it in a loop, item by it
Here is my 2 cents:
Queue q = new LinkedList(); q.add(new int[]{1,2})