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

Method toStringImpl

corpus/java/training/guava/collect/Maps.java:3595–3599  ·  view source on GitHub ↗

An implementation of Map#toString.

(Map<?, ?> map)

Source from the content-addressed store, hash-verified

3593 * An implementation of {@link Map#toString}.
3594 */
3595 static String toStringImpl(Map<?, ?> map) {
3596 StringBuilder sb = Collections2.newStringBuilderForCollection(map.size()).append('{');
3597 STANDARD_JOINER.appendTo(sb, map);
3598 return sb.append('}').toString();
3599 }
3600
3601 /**
3602 * 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