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

Method newPath

src/jvm/clojure/lang/PersistentVector.java:274–280  ·  view source on GitHub ↗
(AtomicReference<Thread> edit,int level, Node node)

Source from the content-addressed store, hash-verified

272}
273
274private static Node newPath(AtomicReference<Thread> edit,int level, Node node){
275 if(level == 0)
276 return node;
277 Node ret = new Node(edit);
278 ret.array[0] = newPath(edit, level - 5, node);
279 return ret;
280}
281
282public IChunkedSeq chunkedSeq(){
283 if(count() == 0)

Callers 4

consMethod · 0.95
pushTailMethod · 0.95
conjMethod · 0.80
pushTailMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected