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

Method remove

src/jvm/clojure/lang/TransactionalHashMap.java:85–91  ·  view source on GitHub ↗
(Object k)

Source from the content-addressed store, hash-verified

83}
84
85public V remove(Object k){
86 Ref r = bins[binFor(k)];
87 IPersistentMap map = (IPersistentMap) r.deref();
88 Object ret = map.valAt(k);
89 r.set(map.without(k));
90 return (V) ret;
91}
92
93public void putAll(Map<? extends K, ? extends V> map){
94 for(Iterator i = map.entrySet().iterator(); i.hasNext();)

Callers

nothing calls this directly

Calls 8

binForMethod · 0.95
derefMethod · 0.95
setMethod · 0.95
withoutMethod · 0.95
valAtMethod · 0.65
entryAtMethod · 0.65
equalsMethod · 0.45
getValueMethod · 0.45

Tested by

no test coverage detected