Am 18.02.2018 um 06:10 schrieb Stuart Marks:
Shorter and maybe more logical to get a String by a String constructor, instead overloading toString() of Character:Fair enough. I'll be less unhappy if there is a way to convert from a code point to a String, as requested by JDK-4993841. This will reducenew String(Character.toChars(codepoint)).repeat(count) to Character.toString(codepoint).repeat(count)
String(codepoint).repeat(count) -Ulf