MCPcopy Create free account
hub / github.com/ReadyTalk/avian / remove

Method remove

classpath/avian/PersistentSet.java:183–190  ·  view source on GitHub ↗
(T value)

Source from the content-addressed store, hash-verified

181 }
182
183 public PersistentSet<T> remove(T value) {
184 Path<T> p = find(value);
185 if (! p.fresh) {
186 return remove(p);
187 }
188
189 return this;
190 }
191
192 private PersistentSet<T> remove(Path<T> p) {
193 if (size == 1) {

Callers

nothing calls this directly

Calls 4

findMethod · 0.95
successorMethod · 0.95
leftRotateMethod · 0.95
rightRotateMethod · 0.95

Tested by

no test coverage detected