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

Method computeThreshold

lib/java/util/HashMap.java:385–387  ·  view source on GitHub ↗

Computes the threshold for rehashing

()

Source from the content-addressed store, hash-verified

383 * Computes the threshold for rehashing
384 */
385 private void computeThreshold() {
386 threshold = (int) (elementData.length * loadFactor);
387 }
388
389 /**
390 * Returns whether this map contains the specified key.

Callers 2

HashMapMethod · 0.95
rehashMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected