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

Method hashCode

output/java_guava/1.4.19/MediaType.java:1029–1038  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1027 }
1028
1029 @Override
1030 public int hashCode() {
1031 // racy single-check idiom
1032 int h = hashCode;
1033 if (h == 0) {
1034 h = Objects.hashCode(type, subtype, parametersAsMap());
1035 hashCode = h;
1036 }
1037 return h;
1038 }
1039
1040 private static final MapJoiner PARAMETER_JOINER = Joiner.on("; ").withKeyValueSeparator("=");
1041

Callers

nothing calls this directly

Calls 2

hashCodeMethod · 0.95
parametersAsMapMethod · 0.95

Tested by

no test coverage detected