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

Method toStringImpl

output/java_guava/1.4.19/Maps.java:3656–3660  ·  view source on GitHub ↗

An implementation of Map#toString.

(Map<?, ?> map)

Source from the content-addressed store, hash-verified

3654 */
3655
3656 static String toStringImpl(Map<?, ?> map) {
3657 StringBuilder sb = Collections2.newStringBuilderForCollection(map.size()).append('{');
3658 STANDARD_JOINER.appendTo(sb, map);
3659 return sb.append('}').toString();
3660 }
3661
3662 /**
3663 * An implementation of {@link Map#putAll}.

Callers 2

standardToStringMethod · 0.95
toStringMethod · 0.95

Calls 5

sizeMethod · 0.65
toStringMethod · 0.65
appendMethod · 0.45
appendToMethod · 0.45

Tested by

no test coverage detected