MCPcopy Create free account
hub / github.com/cmu-db/benchbase / computeHashCode

Method computeHashCode

src/main/java/com/oltpbenchmark/util/Pair.java:59–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57 }
58
59 private int computeHashCode() {
60 return (first == null ? 0 : first.hashCode() * 31) + (second == null ? 0 : second.hashCode());
61 }
62
63 public int hashCode() {
64 if (hash != null) {

Callers 2

PairMethod · 0.95
hashCodeMethod · 0.95

Calls 1

hashCodeMethod · 0.45

Tested by

no test coverage detected