MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / failedBoundsCheck

Method failedBoundsCheck

vm/JavaAPI/src/java/lang/String.java:123–125  ·  view source on GitHub ↗
(int arrayLength, int offset, int count)

Source from the content-addressed store, hash-verified

121 }
122
123 private StringIndexOutOfBoundsException failedBoundsCheck(int arrayLength, int offset, int count) {
124 throw new StringIndexOutOfBoundsException(count);
125 }
126
127 /**
128 * Allocates a new String that contains characters from a subarray of the character array argument. The offset argument is the index of the first character of the subarray and the count argument specifies the length of the subarray. The contents of the subarray are copied; subsequent modification of the character array does not affect the newly created string.

Callers 1

StringMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected