static String join_flex(L glues, Iterable strings) { if (strings == null) ret ""; new StringBuilder buf; Iterator i = strings.iterator(); Iterator iGlues = glues.iterator(); if (i.hasNext()) { buf.append(i.next()); while (i.hasNext()) buf.append(iGlues.next()).append(i.next()); } return buf.toString(); }