What is an easy way to convert a String[] to a Collection<Integer>? This is how I'm doing it right now but not sure if it's good:
String[] myStringNumbers;
Arrays.stream(Arrays.asList(myStringNumbers).stream().mapToInt(Integer::parseInt).toArray()).boxed().collect(
Collectors.toList());