public final class Joiner
extends java.lang.Object
Iterable
, varargs or even a
Map
) with a separator.
NOTE: proxy for the Guava implementation of Joiner
.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
join(java.lang.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.public final java.lang.String join(java.lang.Iterable<?> parts)
parts
, using the
previously configured separator between each.Copyright © 2011-2018 Google. All Rights Reserved.