Lines Matching defs:srcBegin
790 * The first character to be copied is at index <code>srcBegin</code>;
793 * <code>srcEnd-srcBegin</code>). The characters are copied into the
797 * dstbegin + (srcEnd-srcBegin) - 1
800 * @param srcBegin index of the first character in the string
808 * <ul><li><code>srcBegin</code> is negative.
809 * <li><code>srcBegin</code> is greater than <code>srcEnd</code>
813 * <li><code>dstBegin+(srcEnd-srcBegin)</code> is larger than
816 public void getChars(int srcBegin, int srcEnd, char dst[], int dstBegin) {
817 if (srcBegin < 0) {
818 throw new StringIndexOutOfBoundsException(srcBegin);
823 if (srcBegin > srcEnd) {
824 throw new StringIndexOutOfBoundsException(srcEnd - srcBegin);
826 System.arraycopy(value, srcBegin, dst, dstBegin, srcEnd - srcBegin);
835 * <p> The first character to be copied is at index {@code srcBegin}; the
837 * number of characters to be copied is {@code srcEnd-srcBegin}. The
842 * dstbegin + (srcEnd-srcBegin) - 1
849 * @param srcBegin
864 * <li> {@code srcBegin} is negative
865 * <li> {@code srcBegin} is greater than {@code srcEnd}
868 * <li> {@code dstBegin+(srcEnd-srcBegin)} is larger than {@code
873 public void getBytes(int srcBegin, int srcEnd, byte dst[], int dstBegin) {
874 if (srcBegin < 0) {
875 throw new StringIndexOutOfBoundsException(srcBegin);
880 if (srcBegin > srcEnd) {
881 throw new StringIndexOutOfBoundsException(srcEnd - srcBegin);
885 int i = srcBegin;