K - the iterator data typepublic class PrefetchIterator<K>
extends java.lang.Object
implements java.util.Iterator<K>
Prefetching is only done when size() is called.
| Modifier and Type | Class and Description |
|---|---|
static class |
PrefetchIterator.PrefetchOptions
The options to use for prefetching.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
K |
next() |
void |
remove() |
long |
size()
Get the size if known.
|
public boolean hasNext()
hasNext in interface java.util.Iterator<K>public void remove()
remove in interface java.util.Iterator<K>public long size()
Copyright © 2012–2022 The Apache Software Foundation. All rights reserved.