MCPcopy
hub / github.com/google/guava / toString

Method toString

guava/src/com/google/common/collect/MapMaker.java:294–313  ·  view source on GitHub ↗

Returns a string representation for this MapMaker instance. The exact form of the returned string is not specified.

()

Source from the content-addressed store, hash-verified

292 * string is not specified.
293 */
294 @Override
295 public String toString() {
296 MoreObjects.ToStringHelper s = MoreObjects.toStringHelper(this);
297 if (initialCapacity != UNSET_INT) {
298 s.add("initialCapacity", initialCapacity);
299 }
300 if (concurrencyLevel != UNSET_INT) {
301 s.add("concurrencyLevel", concurrencyLevel);
302 }
303 if (keyStrength != null) {
304 s.add("keyStrength", Ascii.toLowerCase(keyStrength.toString()));
305 }
306 if (valueStrength != null) {
307 s.add("valueStrength", Ascii.toLowerCase(valueStrength.toString()));
308 }
309 if (keyEquivalence != null) {
310 s.addValue("keyEquivalence");
311 }
312 return s.toString();
313 }
314}

Callers

nothing calls this directly

Calls 5

toStringHelperMethod · 0.95
toLowerCaseMethod · 0.95
addMethod · 0.65
toStringMethod · 0.65
addValueMethod · 0.45

Tested by

no test coverage detected