5071718: (bf) Add ByteBuffer.slice(int offset, int length)
Brian Burkhalter
brian.burkhalter at oracle.com
Tue Feb 26 17:41:05 UTC 2019
> On Feb 26, 2019, at 9:32 AM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
>
> One small suggestion for the class description is to merge the two paragraphs on the slice methods into one to avoid the duplicate wording, it might be as simpler as "The slice() and slice(int,int) methods create a subsequence of a buffer; They leave the limit and position unchanged".
Voila:
* <li><p> The {@link #slice} and {@link #slice(int,int) slice(index,length)}
* methods create a subsequence of a buffer: They leave the limit and the
* position unchanged. </p></li>
Thanks,
Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/nio-dev/attachments/20190226/99d5a24f/attachment.html>
More information about the nio-dev
mailing list