Class IteratorProxy<T extends DoubleValue>
- java.lang.Object
-
- io.heraldprox.herald.sensor.analysis.sampling.IteratorProxy<T>
-
- All Implemented Interfaces:
Filterable<T>
,java.util.Iterator<Sample<T>>
public class IteratorProxy<T extends DoubleValue> extends java.lang.Object implements java.util.Iterator<Sample<T>>, Filterable<T>
-
-
Constructor Summary
Constructors Constructor Description IteratorProxy(java.util.Iterator<Sample<T>> source, Filter<T> filter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Summary<T>
aggregate(Aggregate<T>... aggregates)
IteratorProxy<T>
filter(Filter<T> filter)
boolean
hasNext()
Sample<T>
next()
SampleList<T>
toView()
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator<T extends DoubleValue>
-
next
@Nullable public Sample<T> next()
- Specified by:
next
in interfacejava.util.Iterator<T extends DoubleValue>
-
filter
@NonNull public IteratorProxy<T> filter(@NonNull Filter<T> filter)
- Specified by:
filter
in interfaceFilterable<T extends DoubleValue>
-
toView
@NonNull public SampleList<T> toView()
-
-