Example usage for Java com.google.common.base Joiner fields, constructors, methods, implement or subclass
The text is from its open source code.
A | appendTo(A appendable, Iterable> parts) Appends the string representation of each of parts , using the previously configured separator between each, to appendable . |
A | appendTo(A appendable, Iterator> parts) Appends the string representation of each of parts , using the previously configured separator between each, to appendable . |
A | appendTo(A appendable, Object[] parts) Appends the string representation of each of parts , using the previously configured separator between each, to appendable . |
StringBuilder | appendTo(StringBuilder builder, Iterable> parts) Appends the string representation of each of parts , using the previously configured separator between each, to builder . |
StringBuilder | appendTo(StringBuilder builder, Iterator> parts) Appends the string representation of each of parts , using the previously configured separator between each, to builder . |
StringBuilder | appendTo(StringBuilder builder, Object[] parts) Appends the string representation of each of parts , using the previously configured separator between each, to builder . |
A | appendTo(A appendable, @Nullable Object first, @Nullable Object second, Object... rest) Appends to appendable the string representation of each of the remaining arguments. |
StringBuilder | appendTo(StringBuilder builder, @Nullable Object first, @Nullable Object second, Object... rest) Appends to builder the string representation of each of the remaining arguments. |
String | join(Iterable> parts) Returns a string containing the string representation of each of parts , using the previously configured separator between each. |
String | join(Iterator> parts) Returns a string containing the string representation of each of parts , using the previously configured separator between each. |
String | join(Object[] parts) Returns a string containing the string representation of each of parts , using the previously configured separator between each. |
String | join(@Nullable Object first, @Nullable Object second, Object... rest) Returns a string containing the string representation of each argument, using the previously configured separator between each. |
Joiner | on(String separator) Returns a joiner which automatically places separator between consecutive elements. |
Joiner | on(char separator) Returns a joiner which automatically places separator between consecutive elements. |
Joiner | skipNulls() Returns a joiner with the same behavior as this joiner, except automatically skipping over any provided null elements. |
MapJoiner | withKeyValueSeparator(String keyValueSeparator) Returns a MapJoiner using the given key-value separator, and the same configuration as this Joiner otherwise. |