TimeIterator<Object[]>
, UpscalableIterator<Object[]>
public final class IntersectIterator extends BufferedTimeIterator<Object[]> implements UpscalableIterator<Object[]>
This iterator will output values with the highest granularity respect its operands, upscaling the inputs when in need of adapting.
Constructor | Description |
---|---|
IntersectIterator(Collection<UpscalableIterator<?>> arguments) |
Construct a intesect iterator from the given arguments.
|
IntersectIterator(UpscalableIterator<?>... iterators) |
Construct a intersect iterator from the given arguments.
|
Modifier and Type | Method | Description |
---|---|---|
protected Sample<Object[]> |
concreteNext() |
Fetch the next element.
|
Sample<Object[]> |
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
public IntersectIterator(UpscalableIterator<?>... iterators)
iterators
- Source iteratorspublic IntersectIterator(Collection<UpscalableIterator<?>> arguments)
arguments
- Source iteratorsprotected final Sample<Object[]> concreteNext()
BufferedTimeIterator
This method must return null when reaching the end of the stream.
concreteNext
in class BufferedTimeIterator<Object[]>
public final Sample<Object[]> peekUpscaleNext(Interval interval)
UpscalableIterator
peekUpscaleNext
in interface UpscalableIterator<Object[]>
interval
- The interval to upscaler the value withCopyright © 2019. All rights reserved.