Package org.jrobin.data
Class Aggregator
- java.lang.Object
-
- org.jrobin.data.Aggregator
-
- All Implemented Interfaces:
ConsolFuns
class Aggregator extends Object implements ConsolFuns
-
-
Field Summary
-
Fields inherited from interface org.jrobin.core.ConsolFuns
CF_AVERAGE, CF_FIRST, CF_LAST, CF_MAX, CF_MIN, CF_TOTAL
-
-
Constructor Summary
Constructors Constructor Description Aggregator(long[] timestamps, double[] values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) Aggregates
getAggregates(long tStart, long tEnd)
(package private) double
getPercentile(long tStart, long tEnd, double percentile)
(package private) double
getPercentile(long tStart, long tEnd, double percentile, boolean includenan)
-
-
-
Method Detail
-
getAggregates
Aggregates getAggregates(long tStart, long tEnd)
-
getPercentile
double getPercentile(long tStart, long tEnd, double percentile)
-
getPercentile
double getPercentile(long tStart, long tEnd, double percentile, boolean includenan)
-
-