RFR 8170348: Appendable.appendN(char, int) method to append multiple copies of char

Ivan Gerasimov ivan.gerasimov at oracle.com
Sun Dec 11 20:50:21 UTC 2016


Thank you Jason for the comments!


On 06.12.2016 20:09, Jason Mehrens wrote:
> Ivan,
>
> Will java.util.StringJoiner be modified too?  I assume a nCopies char sequence object doesn't pan out performance wise?
I don't think I've seen many such uses of StringJoiner as adding the 
same sequence several times.
I would hesitate to propose an addition to the API without being sure 
it's going to be used.

With kind regards,
Ivan



More information about the core-libs-dev mailing list