MCPcopy Create free account
hub / github.com/davidgiven/luje / clear

Method clear

lib/java/util/AbstractList.java:463–466  ·  view source on GitHub ↗

Removes all elements from this list, leaving it empty. @throws UnsupportedOperationException if removing from this list is not supported. @see List#isEmpty @see List#size

()

Source from the content-addressed store, hash-verified

461 * @see List#size
462 */
463 @Override
464 public void clear() {
465 removeRange(0, size());
466 }
467
468 /**
469 * Compares the specified object to this list and return true if they are

Callers

nothing calls this directly

Calls 2

removeRangeMethod · 0.95
sizeMethod · 0.65

Tested by

no test coverage detected