K - T - public class SeveralIterator<K,T> extends PrefetchIterator<T>
| Modifier and Type | Class and Description |
|---|---|
static interface |
SeveralIterator.IteratorGetter<K,T> |
next| Constructor and Description |
|---|
SeveralIterator(Iterator<K> input,
SeveralIterator.IteratorGetter<K,T> getter) |
| Modifier and Type | Method and Description |
|---|---|
protected T |
prefetch()
Reimplement this method to return an element on each call.
|
hasNext, next, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic SeveralIterator(Iterator<K> input, SeveralIterator.IteratorGetter<K,T> getter)
protected T prefetch()
PrefetchIteratorNoSuchElementException Exception when no more elements available.prefetch in class PrefetchIterator<T>Copyright © 2018 DataWeb Research. All rights reserved.