public interface CharArrayAccessible
| Modifier and Type | Method and Description |
|---|---|
void |
getChars(int srcBegin,
int srcEnd,
char[] dst,
int dstBegin)
Characters are copied from this sequence into the
destination character array
dst. |
void getChars(int srcBegin,
int srcEnd,
char[] dst,
int dstBegin)
dst. The first character to
be copied is at index srcBegin; the last character to
be copied is at index srcEnd-1. The total number of
characters to be copied is srcEnd-srcBegin. The
characters are copied into the subarray of dst starting
at index dstBegin and ending at index:
dstbegin + (srcEnd-srcBegin) - 1
srcBegin - start copying at this offset.srcEnd - stop copying at this offset.dst - the array to copy the data into.dstBegin - offset into dst.java.lang.NullPointerException - if dst is
null.java.lang.IndexOutOfBoundsException - if any of the following is true:
srcBegin is negative
dstBegin is negative
srcBegin argument is greater than
the srcEnd argument.
srcEnd is greater than
this.length().
dstBegin+srcEnd-srcBegin is greater than
dst.length