MCPcopy Create free account
hub / github.com/antlr/codebuff / hashCode

Method hashCode

src/org/antlr/codebuff/misc/RuleAltKey.java:29–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27 }
28
29 @Override
30 public int hashCode() {
31 int hash = MurmurHash.initialize();
32 hash = MurmurHash.update(hash, ruleName);
33 hash = MurmurHash.update(hash, altNum);
34 return MurmurHash.finish(hash, 2);
35 }
36
37 @Override
38 public String toString() {

Callers

nothing calls this directly

Calls 3

initializeMethod · 0.45
updateMethod · 0.45
finishMethod · 0.45

Tested by

no test coverage detected