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

Method toString

output/java_guava/1.4.18/Maps.java:593–609  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

591 }
592
593 @Override
594 public String toString() {
595 if (areEqual()) {
596 return "equal";
597 }
598 StringBuilder result = new StringBuilder("not equal");
599 if (!onlyOnLeft.isEmpty()) {
600 result.append(": only on left=").append(onlyOnLeft);
601 }
602 if (!onlyOnRight.isEmpty()) {
603 result.append(": only on right=").append(onlyOnRight);
604 }
605 if (!differences.isEmpty()) {
606 result.append(": value differences=").append(differences);
607 }
608 return result.toString();
609 }
610 }
611
612

Callers

nothing calls this directly

Calls 4

areEqualMethod · 0.95
isEmptyMethod · 0.65
toStringMethod · 0.65
appendMethod · 0.45

Tested by

no test coverage detected