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

Method toArray

basex-core/src/main/java/org/basex/util/list/IntList.java:218–220  ·  view source on GitHub ↗

Returns an array with all elements. @return array

()

Source from the content-addressed store, hash-verified

216 * @return array
217 */
218 public int[] toArray() {
219 return Arrays.copyOf(list, size);
220 }
221
222 /**
223 * Returns an array with all elements and invalidates the internal array.

Callers 12

runMethod · 0.95
putMethod · 0.95
putMethod · 0.95
toStringMethod · 0.95
ratioMethod · 0.45
tokensMethod · 0.45
similarMethod · 0.45
optionsMethod · 0.45
toStringMethod · 0.45
toStringMethod · 0.45
toStringMethod · 0.45
toStringMethod · 0.45

Calls 1

copyOfMethod · 0.80

Tested by

no test coverage detected