MCPcopy Create free account
hub / github.com/Card-Forge/forge / join

Method join

forge-core/src/main/java/forge/util/TextUtil.java:139–148  ·  view source on GitHub ↗
(Iterable<String> strs, String delim)

Source from the content-addressed store, hash-verified

137 }
138
139 public static String join(Iterable<String> strs, String delim) {
140 StringBuilder sb = new StringBuilder();
141 for (String str : strs) {
142 if (sb.length() > 0) {
143 sb.append(delim);
144 }
145 sb.append(str);
146 }
147 return sb.toString();
148 }
149
150 /**
151 * Converts an enum value to a printable label but upcasing the first letter

Callers 15

addCardMethod · 0.95
getStackDescriptionMethod · 0.95
onCloseMethod · 0.95
updateLabelMethod · 0.95
onCloseMethod · 0.95
toStringMethod · 0.95
fromStringMethod · 0.95
readFileToStringMethod · 0.95
handlePalianoVanguardMethod · 0.95
updateLabelMethod · 0.95
setTextMethod · 0.45

Calls 3

lengthMethod · 0.80
appendMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected