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

Method arraycopy

Ports/CLDC11/src/java/lang/System.java:46–48  ·  view source on GitHub ↗
(java.lang.Object src, int srcOffset, java.lang.Object dst, int dstOffset, int length)

Source from the content-addressed store, hash-verified

44 /// Otherwise, if any of the following is true, an IndexOutOfBoundsException is thrown and the destination is not modified: The srcOffset argument is negative. The dstOffset argument is negative. The length argument is negative. srcOffset+length is greater than src.length, the length of the source array. dstOffset+length is greater than dst.length, the length of the destination array.
45 /// Otherwise, if any actual component of the source array from position srcOffset through srcOffset+length-1 cannot be converted to the component type of the destination array by assignment conversion, an ArrayStoreException is thrown. In this case, let k be the smallest nonnegative integer less than length such that src[srcOffset+k] cannot be converted to the component type of the destination array; when the exception is thrown, source array components from positions srcOffset through srcOffset+k-1 will already have been copied to destination array positions dstOffset through dstOffset+k-1 and no other positions of the destination array will have been modified. (Because of the restrictions already itemized, this paragraph effectively applies only to the situation where both arrays have component types that are reference types.)
46 public static void arraycopy(java.lang.Object src, int srcOffset, java.lang.Object dst, int dstOffset, int length){
47 return; //TODO codavaj!!
48 }
49
50 /// Returns the current time in milliseconds.
51 public static long currentTimeMillis(){

Callers 15

putImplMethod · 0.95
appendFromLeftMethod · 0.95
appendFromRightMethod · 0.95
removeLeftmostMethod · 0.95
removeRightmostMethod · 0.95
removeMiddleElementMethod · 0.95
newArrayMethod · 0.95
getFromPriorityQueueMethod · 0.95
growToSizeMethod · 0.95
growLengthMethod · 0.95
orMethod · 0.95
xorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected