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

Method toArray

lib/java/util/Vector.java:963–968  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

961 * @return an array of the elements from this vector.
962 */
963 @Override
964 public synchronized Object[] toArray() {
965 Object[] result = new Object[elementCount];
966 System.arraycopy(elementData, 0, result, 0, elementCount);
967 return result;
968 }
969
970 /**
971 * Returns an array containing all elements contained in this vector. If the

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected