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

Method toString

output/java_guava/1.4.17/Iterables.java:297–299  ·  view source on GitHub ↗

Returns a string representation of iterable, with the format [e1, e2, ..., en] (that is, identical to java.util.Arrays Arrays.toString(Iterables.toArray(iterable))). Note that for most implementations of Collection, collection.toString() also gi

(Iterable<?> iterable)

Source from the content-addressed store, hash-verified

295
296
297 public static String toString(Iterable<?> iterable) {
298 return Iterators.toString(iterable.iterator());
299 }
300
301 /**
302 * Returns the single element contained in {@code iterable}.

Callers 2

putAllMethod · 0.95
toStringMethod · 0.95

Calls 3

toStringMethod · 0.95
iteratorMethod · 0.65
toStringMethod · 0.65

Tested by

no test coverage detected