Iterable<Integer> convertParse(Iterable<String> x) { Collection<Integer> y = new LinkedList<Integer>(); for(String s : x) y.add(Integer.parseInt(s)); return y; }
Uh oh, more duplication — more refactoring!
So let's parameterise over the method types