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

Method without

src/jvm/clojure/lang/PersistentTreeMap.java:140–151  ·  view source on GitHub ↗
(Object key)

Source from the content-addressed store, hash-verified

138
139
140public PersistentTreeMap without(Object key){
141 Box found = new Box(null);
142 Node t = remove(tree, key, found);
143 if(t == null)
144 {
145 if(found.val == null)//null == doesn't contain key
146 return this;
147 //empty
148 return new PersistentTreeMap(meta(), comp);
149 }
150 return new PersistentTreeMap(comp, t.blacken(), _count - 1, meta());
151}
152
153public ISeq seq(){
154 if(_count > 0)

Callers

nothing calls this directly

Calls 3

removeMethod · 0.95
metaMethod · 0.95
blackenMethod · 0.95

Tested by

no test coverage detected