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

Method without

src/jvm/clojure/lang/PersistentHashMap.java:167–176  ·  view source on GitHub ↗
(Object key)

Source from the content-addressed store, hash-verified

165}
166
167public IPersistentMap without(Object key){
168 if(key == null)
169 return hasNull ? new PersistentHashMap(meta(), count - 1, root, false, null) : this;
170 if(root == null)
171 return this;
172 INode newroot = root.without(0, hash(key), key);
173 if(newroot == root)
174 return this;
175 return new PersistentHashMap(meta(), count - 1, newroot, hasNull, nullValue);
176}
177
178static final Iterator EMPTY_ITER = new Iterator(){
179 public boolean hasNext(){

Callers

nothing calls this directly

Calls 3

metaMethod · 0.95
hashMethod · 0.95
withoutMethod · 0.65

Tested by

no test coverage detected