(Object key)
| 138 | |
| 139 | |
| 140 | public 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 | |
| 153 | public ISeq seq(){ |
| 154 | if(_count > 0) |