Modifier and Type | Method | Description |
---|---|---|
String |
join(Iterable<?> parts) |
Returns a string containing the string representation of each of
parts , using the
previously configured separator between each. |
static Joiner |
on(char separator) |
Returns a joiner which automatically places
separator between consecutive elements. |
public static Joiner on(char separator)
separator
between consecutive elements.Copyright © 2011–2019 Google. All rights reserved.