S
- Source value Java typeD
- Target value Java typeTimeIterator<S>
, UpscalableIterator<D>
public abstract class NestedLoopUpscalableIterator<S,D> extends NestedLoopTimeIterator<S,D> implements UpscalableIterator<D>
iterator, nestedIterator
Modifier | Constructor | Description |
---|---|---|
protected |
NestedLoopUpscalableIterator(TimeIterator<S> iterator) |
Protected constructor.
|
Modifier and Type | Method | Description |
---|---|---|
protected abstract UpscalableIterator<D> |
nestedIterator(Sample<S> value) |
|
Sample<D> |
peekUpscaleNext(Interval interval) |
Retrieve a sample which contains the upscaled value, relative
to the given interval, for the next value.
|
String |
toString() |
hasNext, next, peekNext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
hasNext, next, peekNext
protected NestedLoopUpscalableIterator(TimeIterator<S> iterator)
iterator
- Source iteratorprotected abstract UpscalableIterator<D> nestedIterator(Sample<S> value)
nestedIterator
in class NestedLoopTimeIterator<S,D>
public final Sample<D> peekUpscaleNext(Interval interval)
UpscalableIterator
peekUpscaleNext
in interface UpscalableIterator<S>
interval
- The interval to upscaler the value withpublic String toString()
toString
in class NestedLoopTimeIterator<S,D>
Copyright © 2019. All rights reserved.