/** * Returns a map joiner with the same behavior as this one, except automatically substituting {@code nullText} * for any provided null keys or values. */ public MapJoiner useForNull(String nullText) { return new MapJoiner(joiner.useForNull(nullText), keyValueSeparator); } }
/** * Returns a {@code MapJoiner} using the given key-value separator, and the same configuration as this * {@code Joiner} otherwise. */ public MapJoiner withKeyValueSeparator(String keyValueSeparator) { return new MapJoiner(this, keyValueSeparator); }