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

Method hash

classpath/java/util/HashMap.java:315–317  ·  view source on GitHub ↗
(K a)

Source from the content-addressed store, hash-verified

313 }
314
315 public int hash(K a) {
316 return (a == null ? 0 : a.hashCode());
317 }
318
319 public boolean equal(K a, K b) {
320 return (a == null && b == null) || (a != null && a.equals(b));

Callers 2

makeMethod · 0.95
makeMethod · 0.95

Calls 1

hashCodeMethod · 0.65

Tested by

no test coverage detected