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
It's also worth checking out this bug report, which was closed with reason "Not a defect" and the following text:
"Autoboxing of entire arrays is not specified behavior, for good reason. It can be prohibitively expensive for large arrays."