mardi 2 août 2016

How to convert int[] into List<Integer> in Java?

How do I convert int[] into List<Integer> in Java?

Of course, I'm interested in any other answer than doing it in a loop, item by item. But if there's no other answer, I'll pick that one as the best to show the fact that this functionality is not part of Java.

Aucun commentaire:

Enregistrer un commentaire