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

Method cycle

output/java_guava/1.4.18/FluentIterable.java:368–370  ·  view source on GitHub ↗

Returns a fluent iterable whose Iterator cycles indefinitely over the elements of this fluent iterable. That iterator supports remove() if iterable.iterator() does. After remove() is called, subsequent cycles omit the removed element, which is no longer in this fl

()

Source from the content-addressed store, hash-verified

366
367
368 public final FluentIterable<E> cycle() {
369 return from(Iterables.cycle(iterable));
370 }
371
372 /**
373 * Returns a fluent iterable whose iterators traverse first the elements of this fluent iterable,

Callers

nothing calls this directly

Calls 2

fromMethod · 0.95
cycleMethod · 0.95

Tested by

no test coverage detected