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

Method toString

corpus/java/training/guava/collect/Iterables.java:285–287  ·  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

283 * generally guaranteed.
284 */
285 public static String toString(Iterable<?> iterable) {
286 return Iterators.toString(iterable.iterator());
287 }
288
289 /**
290 * 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