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

Method toArray

lib/java/util/ArrayList.java:632–637  ·  view source on GitHub ↗

Returns a new array containing all elements contained in this ArrayList. @return an array of the elements from this ArrayList

()

Source from the content-addressed store, hash-verified

630 * @return an array of the elements from this {@code ArrayList}
631 */
632 @Override
633 public Object[] toArray() {
634 Object[] result = new Object[size];
635 System.arraycopy(array, firstIndex, result, 0, size);
636 return result;
637 }
638
639 /**
640 * Returns an array containing all elements contained in this

Callers 2

listFilesMethod · 0.95
listMethod · 0.95

Calls 4

arraycopyMethod · 0.95
newInstanceMethod · 0.95
getComponentTypeMethod · 0.80
getClassMethod · 0.80

Tested by

no test coverage detected