public abstract static class PrefetchableIterables.Default<T> extends java.lang.Object implements PrefetchableIterable<T>
prefetch()
is
invoked.Constructor and Description |
---|
Default() |
Modifier and Type | Method and Description |
---|---|
protected abstract PrefetchableIterator<T> |
createIterator() |
PrefetchableIterator<T> |
iterator() |
void |
prefetch()
Ensures that the next iterator returned has been prefetched.
|
public final void prefetch()
PrefetchableIterable
prefetch
in interface PrefetchableIterable<T>
public final PrefetchableIterator<T> iterator()
iterator
in interface java.lang.Iterable<T>
iterator
in interface PrefetchableIterable<T>
protected abstract PrefetchableIterator<T> createIterator()