MCPcopy Create free account
hub / github.com/BaseXdb/basex / copy

Method copy

basex-core/src/main/java/org/basex/util/Array.java:122–125  ·  view source on GitHub ↗

Copies first entries from one array to another array. @param array source array @param index index of source array @param length number of array entries to be copied @param target target array @param trgIndex index of target array

(final Object array, final int index, final int length,
      final Object target, final int trgIndex)

Source from the content-addressed store, hash-verified

120 * @param trgIndex index of target array
121 */
122 public static void copy(final Object array, final int index, final int length,
123 final Object target, final int trgIndex) {
124 System.arraycopy(array, index, target, trgIndex, length);
125 }
126
127 /**
128 * Copies first entries from one array to another array.

Callers 15

startWithMethod · 0.95
addMethod · 0.95
deleteMethod · 0.95
writeBytesMethod · 0.95
copyMethod · 0.95
insertMethod · 0.95
deleteMethod · 0.95
addMethod · 0.95
inlineMethod · 0.95
addMethod · 0.95
GroupByMethod · 0.95
typeMethod · 0.95

Calls 2

copyFromStartMethod · 0.95
minMethod · 0.45

Tested by

no test coverage detected