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

Method equals

corpus/java/training/guava/collect/Maps.java:547–560  ·  view source on GitHub ↗
(Object object)

Source from the content-addressed store, hash-verified

545 }
546
547 @Override
548 public boolean equals(Object object) {
549 if (object == this) {
550 return true;
551 }
552 if (object instanceof MapDifference) {
553 MapDifference<?, ?> other = (MapDifference<?, ?>) object;
554 return entriesOnlyOnLeft().equals(other.entriesOnlyOnLeft())
555 && entriesOnlyOnRight().equals(other.entriesOnlyOnRight())
556 && entriesInCommon().equals(other.entriesInCommon())
557 && entriesDiffering().equals(other.entriesDiffering());
558 }
559 return false;
560 }
561
562 @Override
563 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