void (String string, List<String>... outs) { final List<String> strings = StringUtil.split(string, ","); for (List<String> out : outs) { out.clear(); } final int iMax = strings.size(); for (int i = 0; i < iMax; i += outs.length) { for (int j = 0; j < outs.length; j++) { final List<String> out = outs[j]; if (i + j >= iMax) { out.add(""); } else { out.add(strings.get(i + j)); } } } }