MCPcopy Index your code
hub / github.com/davidgiven/luje / getChars

Method getChars

lib/java/lang/AbstractStringBuilder.java:282–287  ·  view source on GitHub ↗

Copies the requested sequence of characters to the char[] passed starting at destStart. @param start the inclusive start index of the characters to copy. @param end the exclusive end index of the characters to copy. @param dest the char[] to

(int start, int end, char[] dest, int destStart)

Source from the content-addressed store, hash-verified

280 * {@code dest.length}.
281 */
282 public void getChars(int start, int end, char[] dest, int destStart) {
283 if (start > count || end > count || start > end) {
284 throw new StringIndexOutOfBoundsException();
285 }
286 System.arraycopy(value, start, dest, destStart, end - start);
287 }
288
289 final void insert0(int index, char[] chars) {
290 if (0 > index || index > count) {

Callers 4

AbstractStringBuilderMethod · 0.45
append0Method · 0.45
insert0Method · 0.45
replace0Method · 0.45

Calls 1

arraycopyMethod · 0.95

Tested by

no test coverage detected