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

Method invoke

src/jvm/clojure/lang/APersistentVector.java:354–358  ·  view source on GitHub ↗
(Object arg1)

Source from the content-addressed store, hash-verified

352
353
354public Object invoke(Object arg1) {
355 if(Util.isInteger(arg1))
356 return nth(((Number) arg1).intValue());
357 throw new IllegalArgumentException("Key must be integer");
358}
359
360public Iterator iterator(){
361 //todo - something more efficient

Callers

nothing calls this directly

Calls 3

isIntegerMethod · 0.95
nthMethod · 0.95
intValueMethod · 0.45

Tested by

no test coverage detected