List of utility methods to do Iterator Join
String | join(Iterator strings, String sep) Join a collection of strings by a seperator if (!strings.hasNext()) return ""; String start = strings.next().toString(); if (!strings.hasNext()) return start; StringBuilder sb = new StringBuilder(64).append(start); while (strings.hasNext()) { sb.append(sep); ... |
String | join(Iterator Join a collection of strings by a seperator if (!strings.hasNext()) return ""; String start = strings.next(); if (!strings.hasNext()) return start; StringBuilder sb = new StringBuilder(64).append(start); while (strings.hasNext()) { sb.append(sep); ... |
String | join(Iterator strings, String sep) Join a collection of strings by a seperator if (!strings.hasNext()) return ""; String start = strings.next().toString(); if (!strings.hasNext()) return start; StringBuilder sb = new StringBuilder(64).append(start); while (strings.hasNext()) { sb.append(sep); ... |