TimeIterator<S>
public abstract class JavaIterator2TimeIteratorAdapter<S,D> extends BufferedTimeIterator<D>
Constructor | Description |
---|---|
JavaIterator2TimeIteratorAdapter(Iterator<S> delegate) |
Constructs a JavaIterator2TimeIteratorAdapter from the given delegate.
|
Modifier and Type | Method | Description |
---|---|---|
protected abstract Sample<D> |
adapt(S value) |
Adapt the value to a #Sample.
|
protected Sample<D> |
concreteNext() |
Fetch the next element.
|
hasNext, next, peekNext
protected final Sample<D> concreteNext()
BufferedTimeIterator
This method must return null when reaching the end of the stream.
concreteNext
in class BufferedTimeIterator<D>
Copyright © 2019. All rights reserved.