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

Method equals

output/java_guava/1.4.16/Maps.java:573–586  ·  view source on GitHub ↗
(Object object)

Source from the content-addressed store, hash-verified

571 }
572
573 @Override
574 public boolean equals(Object object) {
575 if (object == this) {
576 return true;
577 }
578 if (object instanceof MapDifference) {
579 MapDifference<?, ?> other = (MapDifference<?, ?>) object;
580 return entriesOnlyOnLeft().equals(other.entriesOnlyOnLeft())
581&& entriesOnlyOnRight().equals(other.entriesOnlyOnRight())
582 && entriesInCommon().equals(other.entriesInCommon())
583&& entriesDiffering().equals(other.entriesDiffering());
584 }
585 return false;
586 }
587
588 @Override
589 public int hashCode() {

Callers

nothing calls this directly

Calls 9

entriesOnlyOnLeftMethod · 0.95
entriesOnlyOnRightMethod · 0.95
entriesInCommonMethod · 0.95
entriesDifferingMethod · 0.95
equalsMethod · 0.65
entriesOnlyOnLeftMethod · 0.65
entriesOnlyOnRightMethod · 0.65
entriesInCommonMethod · 0.65
entriesDifferingMethod · 0.65

Tested by

no test coverage detected