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

Method removeAndReturn

classpath/java/util/TreeSet.java:93–96  ·  view source on GitHub ↗
(T value)

Source from the content-addressed store, hash-verified

91 }
92
93 T removeAndReturn(T value) {
94 Cell<T> cell = removeCell(value);
95 return cell == null ? null : cell.value;
96 }
97
98 private Cell<T> removeCell(Object value) {
99 PersistentSet.Path<Cell<T>> p = set.find(new Cell(value, null));

Callers 2

removeMethod · 0.80
removeMethod · 0.80

Calls 1

removeCellMethod · 0.95

Tested by

no test coverage detected