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

Method toString

guava/src/com/google/common/graph/ElementOrder.java:177–184  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

175 }
176
177 @Override
178 public String toString() {
179 ToStringHelper helper = MoreObjects.toStringHelper(this).add("type", type);
180 if (comparator != null) {
181 helper.add("comparator", comparator);
182 }
183 return helper.toString();
184 }
185
186 /** Returns an empty mutable map whose keys will respect this {@link ElementOrder}. */
187 <K extends T, V> Map<K, V> createMap(int expectedSize) {

Callers

nothing calls this directly

Calls 4

toStringHelperMethod · 0.95
addMethod · 0.95
toStringMethod · 0.95
addMethod · 0.65

Tested by

no test coverage detected