MCPcopy Index your code
hub / github.com/clojure/clojure / toArray

Method toArray

src/jvm/clojure/lang/APersistentVector.java:429–434  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

427// java.util.Collection implementation
428
429public Object[] toArray(){
430 Object[] ret = new Object[count()];
431 for(int i=0;i<count();i++)
432 ret[i] = nth(i);
433 return ret;
434}
435
436public boolean add(Object o){
437 throw new UnsupportedOperationException();

Callers

nothing calls this directly

Calls 4

nthMethod · 0.95
seqToPassedArrayMethod · 0.95
seqMethod · 0.95
countMethod · 0.65

Tested by

no test coverage detected