MCPcopy Index your code
hub / github.com/apache/groovy / remove

Method remove

src/main/java/groovy/util/ObservableSet.java:302–311  ·  view source on GitHub ↗

{@inheritDoc}

(Object o)

Source from the content-addressed store, hash-verified

300
301 /** {@inheritDoc} */
302 @Override
303 public boolean remove(Object o) {
304 int oldSize = size();
305 boolean success = delegate.remove(o);
306 if (success) {
307 fireElementRemovedEvent(o);
308 fireSizeChangedEvent(oldSize, size());
309 }
310 return success;
311 }
312
313 /** {@inheritDoc} */
314 @Override

Callers

nothing calls this directly

Calls 4

sizeMethod · 0.95
fireSizeChangedEventMethod · 0.95
removeMethod · 0.65

Tested by

no test coverage detected