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

Method subvec

src/jvm/clojure/lang/RT.java:1632–1638  ·  view source on GitHub ↗
(IPersistentVector v, int start, int end)

Source from the content-addressed store, hash-verified

1630}
1631
1632static public IPersistentVector subvec(IPersistentVector v, int start, int end){
1633 if(end < start || start < 0 || end > v.count())
1634 throw new IndexOutOfBoundsException();
1635 if(start == end)
1636 return PersistentVector.EMPTY;
1637 return new APersistentVector.SubVector(null, v, start, end);
1638}
1639
1640/**
1641 * **************************************** list support *******************************

Callers 5

subListMethod · 0.95
emitUnboxedMethod · 0.95
emitProtoMethod · 0.95
buildMethod · 0.95
parseMethod · 0.95

Calls 1

countMethod · 0.65

Tested by

no test coverage detected