< prev index next >
src/java.base/share/classes/java/util/StringJoiner.java
Print this page
*** 75,85 ****
/** Total length in chars so far, excluding prefix and suffix. */
private int len;
/**
! * When overridden by the user to be non-null via {@link setEmptyValue}, the
* string returned by toString() when no elements have yet been added.
* When null, prefix + suffix is used as the empty value.
*/
private String emptyValue;
--- 75,85 ----
/** Total length in chars so far, excluding prefix and suffix. */
private int len;
/**
! * When overridden by the user to be non-null via {@link #setEmptyValue(CharSequence)}, the
* string returned by toString() when no elements have yet been added.
* When null, prefix + suffix is used as the empty value.
*/
private String emptyValue;
< prev index next >