8065262: (bf spec) CharBuffer.chars() should make it clearer that the sequence starts from the buffer position

Reviewed-by: alanb, darcy, rriggs
This commit is contained in:
Brian Burkhalter 2019-02-19 13:05:16 -08:00
parent 67df8f228c
commit 47ccdad735

View File

@ -209,6 +209,8 @@ import jdk.internal.util.ArraysSupport;
* <p> This class implements the {@link CharSequence} interface so that
* character buffers may be used wherever character sequences are accepted, for
* example in the regular-expression package {@link java.util.regex}.
* The methods defined by {@code CharSequence} operate relative to the current
* position of the buffer when they are invoked.
* </p>
*
#end[char]