com.groiss.reporting.data
Interface NumericValue
- All Superinterfaces:
- java.lang.Comparable<ReportingExportable>, ReportingData, ReportingExportable
public interface NumericValue
- extends ReportingData
Implementing this Interface, enables ReportingData Objects to make numeric aggregations like sum and average.
add
NumericValue add(NumericValue v2)
- Adds the Values of two NumericValue Objects
- Parameters:
v2
- the second NumericValue to add
- Returns:
- the Object with the added NumericValue
avg
NumericValue avg(long count)
- Calculates the average of a numeric data.
- Parameters:
count
- the amount of NumericValue Objects
- Returns:
- a NumericValue Object containing the average value
@enterprise 8.0.22989 Copyright © 2001-2017 Groiss Informatics GmbH. All Rights Reserved.