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

Method assoc

src/jvm/clojure/lang/RT.java:844–848  ·  view source on GitHub ↗
(Object coll, Object key, Object val)

Source from the content-addressed store, hash-verified

842}
843
844static public Associative assoc(Object coll, Object key, Object val){
845 if(coll == null)
846 return new PersistentArrayMap(new Object[]{key, val});
847 return ((Associative) coll).assoc(key, val);
848}
849
850static public Object contains(Object coll, Object key){
851 if(coll == null)

Callers 13

invokeMethod · 0.95
CompilerClass · 0.95
parseMethod · 0.95
LocalBindingExprMethod · 0.95
registerLocalMethod · 0.95
CompilerExceptionMethod · 0.95
preserveTagMethod · 0.95
registerKeywordMethod · 0.95
registerVarMethod · 0.95
closeOverMethod · 0.95
invokeMethod · 0.95
invokeMethod · 0.95

Calls 1

assocMethod · 0.65

Tested by

no test coverage detected