TimeIterator<T>
public class DownscalerIterator<T> extends BufferedTimeIterator<T> implements TimeIterator<T>
Downscaler
into a TimeIterator
.Constructor | Description |
---|---|
DownscalerIterator(net.vleo.timel.impl.downscaler.Downscaler<T> downscaler,
UpscalableIterator<T> iterator,
Interval interval) |
Modifier and Type | Method | Description |
---|---|---|
protected Sample<T> |
concreteNext() |
Fetch the next element.
|
String |
toString() |
hasNext, next, peekNext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
hasNext, next, peekNext
public DownscalerIterator(net.vleo.timel.impl.downscaler.Downscaler<T> downscaler, UpscalableIterator<T> iterator, Interval interval)
protected Sample<T> concreteNext()
BufferedTimeIterator
This method must return null when reaching the end of the stream.
concreteNext
in class BufferedTimeIterator<T>
Copyright © 2019. All rights reserved.