AnalyticValue Class

The "AnalyticValue" class is a value object that holds the result of any and all analytic operations. There will be one AnalyticValue object for every object in the original list of values passed to Analytic. This class contains a reference to its corresponding original data object. Here are the methods of the AnalyticValue class.

  • getAnalyzedValue(AnalyticAggregator ana) - Return the aggregate value as calculated by the given AnalyticAggregator. Use an AnalyticAggregator object that was supplied to the Builder method.
  • getAnalyzedValue(int index) - Return the aggregate value as calculated by the AnalyticAggregator referenced by the given 0-based index. This index references the original list of AnalyticAggregators supplied to the Builder object.
  • getObject() - This method retrieves the property value associated with these values. jAgg uses the value object from the original list of values that it encounters when calculating analytic values.