On 15/02/2018 21:55, Stuart Marks wrote:
:

I'd also suggest adding a CharBuffer constructor:

    public String(CharBuffer cbuf)

This would be semantically equivalent to

    public String(char[] value, int offset, int count)

except using the chars from the CharBuffer between the buffer's position and its limit.
CharBuffer::toString already does this so adding this constructor may not be as useful as it initially looks.

-Alan

Reply via email to