@@ -50,8 +50,8 @@ public static String Join(Map map, String entryGlue, String elementGlue, String
5050 * @param entryGlue The glue to use between the key and value of each pair in the map
5151 * @param elementGlue The glue to use between each key-value element pairs in the map
5252 * @param lastElementGlue The glue for the last two elements
53- * @param elementGlueForTwoItems If only two items are in the map, then this glue is used instead. If it is null, then
54- * lastElementGlue is used instead.
53+ * @param elementGlueForTwoItems If only two items are in the map, then this glue is used instead. If it is null,
54+ * then lastElementGlue is used instead.
5555 * @return The concatenated string
5656 */
5757 public static String Join (Map map , String entryGlue , String elementGlue , String lastElementGlue , String elementGlueForTwoItems ) {
@@ -65,8 +65,8 @@ public static String Join(Map map, String entryGlue, String elementGlue, String
6565 * @param entryGlue The glue to use between the key and value of each pair in the map
6666 * @param elementGlue The glue to use between each key-value element pairs in the map
6767 * @param lastElementGlue The glue for the last two elements
68- * @param elementGlueForTwoItems If only two items are in the map, then this glue is used instead. If it is null, then
69- * lastElementGlue is used instead.
68+ * @param elementGlueForTwoItems If only two items are in the map, then this glue is used instead. If it is null,
69+ * then lastElementGlue is used instead.
7070 * @param empty If the map is completely empty, this string is simply returned. If null, an empty string is used.
7171 * @return The concatenated string
7272 */
@@ -84,6 +84,7 @@ public static String Join(Map map, String entryGlue, String elementGlue, String
8484 /**
8585 * Joins a set together (using StringBuilder's {@link StringBuilder#append(Object)} method to "toString" the Object)
8686 * using the specified string for glue.
87+ *
8788 * @param <T> The set type
8889 * @param set The set to concatenate
8990 * @param glue The glue to use
@@ -95,6 +96,7 @@ public static <T> String Join(Set<T> set, String glue) {
9596
9697 /**
9798 * Joins a set together, rendering each item with the custom renderer.
99+ *
98100 * @param <T> The set type
99101 * @param set The set to concatenate
100102 * @param glue The glue to use
@@ -134,9 +136,10 @@ public static <T> String Join(T[] list, String glue, Renderer<T> r) {
134136
135137 /**
136138 * Joins a set together (using StringBuilder's {@link StringBuilder#append(Object)} method to "toString" the Object)
137- * using the specified string for glue. If
138- * lastGlue is null, it is the same as glue, but otherwise it is used to glue just the last two items together,
139- * which is useful for sets that are being read by a human, to have a proper conjunction at the end.
139+ * using the specified string for glue. If lastGlue is null, it is the same as glue, but otherwise it is used to
140+ * glue just the last two items together, which is useful for sets that are being read by a human, to have a proper
141+ * conjunction at the end.
142+ *
140143 * @param <T> The set type
141144 * @param set The set to concatenate
142145 * @param glue The glue to use
@@ -149,9 +152,10 @@ public static <T> String Join(Set<T> set, String glue, String lastGlue) {
149152
150153 /**
151154 * Joins a set together (using StringBuilder's {@link StringBuilder#append(Object)} method to "toString" the Object)
152- * using the specified string for glue.
153- * If lastGlue is null, it is the same as glue, but otherwise it is used to glue just the last two items together,
154- * which is useful for sets that are being read by a human, to have a proper conjunction at the end.
155+ * using the specified string for glue. If lastGlue is null, it is the same as glue, but otherwise it is used to
156+ * glue just the last two items together, which is useful for sets that are being read by a human, to have a proper
157+ * conjunction at the end.
158+ *
155159 * @param <T> The set type
156160 * @param set The set to concatenate
157161 * @param glue The glue to use
@@ -166,9 +170,10 @@ public static <T> String Join(Set<T> set, String glue, String lastGlue, String g
166170
167171 /**
168172 * Joins a set together (using StringBuilder's {@link StringBuilder#append(Object)} method to "toString" the Object)
169- * using the specified string for glue.
170- * If lastGlue is null, it is the same as glue, but otherwise it is used to glue just the last two items together,
171- * which is useful for sets that are being read by a human, to have a proper conjunction at the end.
173+ * using the specified string for glue. If lastGlue is null, it is the same as glue, but otherwise it is used to
174+ * glue just the last two items together, which is useful for sets that are being read by a human, to have a proper
175+ * conjunction at the end.
176+ *
172177 * @param <T> The set type
173178 * @param set The set to concatenate
174179 * @param glue The glue to use
@@ -184,9 +189,10 @@ public static <T> String Join(Set<T> set, String glue, String lastGlue, String g
184189
185190 /**
186191 * Joins a set together (using StringBuilder's {@link StringBuilder#append(Object)} method to "toString" the Object)
187- * using the specified string for glue.
188- * If lastGlue is null, it is the same as glue, but otherwise it is used to glue just the last two items together,
189- * which is useful for sets that are being read by a human, to have a proper conjunction at the end.
192+ * using the specified string for glue. If lastGlue is null, it is the same as glue, but otherwise it is used to
193+ * glue just the last two items together, which is useful for sets that are being read by a human, to have a proper
194+ * conjunction at the end.
195+ *
190196 * @param <T>
191197 * @param set The set to concatenate
192198 * @param glue The glue to use
@@ -221,8 +227,9 @@ public boolean isEmpty() {
221227 }
222228
223229 /**
224- * Joins an array together (using StringBuilder's {@link StringBuilder#append(Object)} method
225- * to "toString" the Object) using the specified string for glue.
230+ * Joins an array together (using StringBuilder's {@link StringBuilder#append(Object)} method to "toString" the
231+ * Object) using the specified string for glue.
232+ *
226233 * @param <T> The array type
227234 * @param list The array to concatenate
228235 * @param glue The glue to use
@@ -233,10 +240,11 @@ public static <T> String Join(T[] list, String glue) {
233240 }
234241
235242 /**
236- * Joins an array together (using StringBuilder's {@link StringBuilder#append(Object)} method
237- * to "toString" the Object) using the specified string for glue.
238- * If lastGlue is null, it is the same as glue, but otherwise it is used to glue just the last two items together,
239- * which is useful for lists that are being read by a human, to have a proper conjunction at the end.
243+ * Joins an array together (using StringBuilder's {@link StringBuilder#append(Object)} method to "toString" the
244+ * Object) using the specified string for glue. If lastGlue is null, it is the same as glue, but otherwise it is
245+ * used to glue just the last two items together, which is useful for lists that are being read by a human, to have
246+ * a proper conjunction at the end.
247+ *
240248 * @param <T> The array type
241249 * @param list The array to concatenate
242250 * @param glue The glue to use
@@ -248,10 +256,11 @@ public static <T> String Join(T[] list, String glue, String lastGlue) {
248256 }
249257
250258 /**
251- * Joins an array together (using StringBuilder's {@link StringBuilder#append(Object)} method
252- * to "toString" the Object) using the specified string for glue.
253- * If lastGlue is null, it is the same as glue, but otherwise it is used to glue just the last two items together,
254- * which is useful for lists that are being read by a human, to have a proper conjunction at the end.
259+ * Joins an array together (using StringBuilder's {@link StringBuilder#append(Object)} method to "toString" the
260+ * Object) using the specified string for glue. If lastGlue is null, it is the same as glue, but otherwise it is
261+ * used to glue just the last two items together, which is useful for lists that are being read by a human, to have
262+ * a proper conjunction at the end.
263+ *
255264 * @param <T> The array type
256265 * @param list The array to concatenate
257266 * @param glue The glue to use
@@ -265,10 +274,11 @@ public static <T> String Join(T[] list, String glue, String lastGlue, String glu
265274 }
266275
267276 /**
268- * Joins an array together (using StringBuilder's {@link StringBuilder#append(Object)} method
269- * to "toString" the Object) using the specified string for glue.
270- * If lastGlue is null, it is the same as glue, but otherwise it is used to glue just the last two items together,
271- * which is useful for lists that are being read by a human, to have a proper conjunction at the end.
277+ * Joins an array together (using StringBuilder's {@link StringBuilder#append(Object)} method to "toString" the
278+ * Object) using the specified string for glue. If lastGlue is null, it is the same as glue, but otherwise it is
279+ * used to glue just the last two items together, which is useful for lists that are being read by a human, to have
280+ * a proper conjunction at the end.
281+ *
272282 * @param <T> The array type
273283 * @param list The array to concatenate
274284 * @param glue The glue to use
@@ -382,10 +392,11 @@ public static String Join(final List list, String glue, String lastGlue, String
382392 }
383393
384394 /**
385- * Joins a list together (using StringBuilder's {@link StringBuilder#append(Object)} method
386- * to "toString" the Object) using the specified string for glue.
387- * If lastGlue is null, it is the same as glue, but otherwise it is used to glue just the last two items together,
388- * which is useful for lists that are being read by a human, to have a proper conjunction at the end.
395+ * Joins a list together (using StringBuilder's {@link StringBuilder#append(Object)} method to "toString" the
396+ * Object) using the specified string for glue. If lastGlue is null, it is the same as glue, but otherwise it is
397+ * used to glue just the last two items together, which is useful for lists that are being read by a human, to have
398+ * a proper conjunction at the end.
399+ *
389400 * @param <T> The list type
390401 * @param list The list to concatenate
391402 * @param glue The glue to use
0 commit comments