|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.common.collect.FluentIterable<com.google.common.collect.FluentIterable<E>>
org.jclouds.collect.AdvanceUntilEmptyIterable<E>
E - @Beta public class AdvanceUntilEmptyIterable<E>
continues to supply iterables until the last was empty
| Constructor Summary | |
|---|---|
protected |
AdvanceUntilEmptyIterable(com.google.common.base.Supplier<com.google.common.collect.FluentIterable<E>> nextIterable)
|
| Method Summary | ||
|---|---|---|
com.google.common.collect.FluentIterable<E> |
concat()
Combines all the pages into a single unmodifiable iterable. |
|
static
|
create(com.google.common.base.Supplier<com.google.common.collect.FluentIterable<E>> nextIterable)
|
|
Iterator<com.google.common.collect.FluentIterable<E>> |
iterator()
|
|
| Methods inherited from class com.google.common.collect.FluentIterable |
|---|
allMatch, anyMatch, contains, copyInto, cycle, filter, filter, first, firstMatch, from, from, get, index, isEmpty, last, limit, size, skip, toArray, toImmutableList, toImmutableSet, toImmutableSortedSet, toList, toMap, toSet, toSortedImmutableList, toSortedList, toSortedSet, toString, transform, transformAndConcat, uniqueIndex |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected AdvanceUntilEmptyIterable(com.google.common.base.Supplier<com.google.common.collect.FluentIterable<E>> nextIterable)
| Method Detail |
|---|
public static <E> AdvanceUntilEmptyIterable<E> create(com.google.common.base.Supplier<com.google.common.collect.FluentIterable<E>> nextIterable)
public Iterator<com.google.common.collect.FluentIterable<E>> iterator()
public com.google.common.collect.FluentIterable<E> concat()
FluentIterableblobs = blobstore.list(...).concat(); for (StorageMetadata blob : blobs) { process(blob); }
Iterators.concat(java.util.Iterator extends T>, java.util.Iterator extends T>)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||