Add getChars to CharSequence

Alan Bateman Alan.Bateman at oracle.com
Thu Apr 11 20:47:45 UTC 2013


On 11/04/2013 18:14, Martin Buchholz wrote:
>
> :
>
> I thought about this a bit.  getChars should be consistent with 
> charAt, which does not move position and is relative to position.
This is probably right although I think we'll need the spec overridden 
in CharBuffer to make this clear. You might be thinking of providing an 
implementation there anyway to avoid checking the position at each char.

-Alan.



More information about the core-libs-dev mailing list