Replace concat String to append in StringBuilder parameters

Ulf Zibis Ulf.Zibis at
Mon Aug 11 15:38:14 UTC 2014

Am 11.08.2014 um 16:33 schrieb Pavel Rappo:
> Unfortunately, neither java.util.StringJoiner nor String.join have perfect (but who has?) APIs. So it's up to us to figure out the best way of joining elements.

Maybe remember my thoughts from here:

Would it be possible to inherit StringJoiner from StringBuilder in some way?
Then a mixture of concatanation, StringBuilder and StringJoiner after Javac would end up in one 
StringBuilder instance. We also could profit from StringJoiners initial capacity capability.


More information about the core-libs-dev mailing list