Adds an element to this joiner.
Example:
var joiner = new StringJoiner (", ");
joiner.add ("hello");
joiner.add ("world");
assert (joiner.toString () == "hello, world");
| element |
the element to add. |
|
this StringJoiner for chaining. |