/** * Returns a string containing the string representation of each of {@code parts}, using the previously configured * separator between each. */ public final String join(Object[] parts) { return join(Arrays.asList(parts)); }
/** * Returns a string containing the string representation of each of {@code parts}, using the previously configured * separator between each. */ public final String join(Iterable<?> parts) { return join(parts.iterator()); }
/** * Returns a string containing the string representation of each argument, using the previously configured separator * between each. */ public final String join(@Nullable Object first, @Nullable Object second, Object... rest) { return join(iterable(first, second, rest)); }