static int[] mapToIntArray(O f, Collection l) { ret toIntArray(map(f, l)); } static int[] mapToIntArray(O f, O[] l) { ret toIntArray(map(f, l)); }