Klasse NumberByDoubleAggregator
java.lang.Object
de.uplanet.lucy.server.auxiliaries.chart.AbstractNumberAggregator<Double,SumByDoubleAggregatorBucket>
de.uplanet.lucy.server.auxiliaries.chart.NumberByDoubleAggregator
public final class NumberByDoubleAggregator
extends AbstractNumberAggregator<Double,SumByDoubleAggregatorBucket>
This class can be used to aggregate numbers while grouping them by numerical values.
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungfinal class -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungNumberByDoubleAggregator(Comparator<? super Double> p_comparator) Create an aggregator for numerical values. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidAdd an observation.Get an ascendingly ordered list of aggregated values.Von Klasse geerbte Methoden de.uplanet.lucy.server.auxiliaries.chart.AbstractNumberAggregator
getRowComparator, isGroupValueWasNull, isIgnoreIfGroupingValueIsNull, isIgnoreIfRowValueIsNull, isIgnoreIfValueIsNull, isMapNullValueToDefault, isRowValueWasNull, isValueWasNull, setCaseInsensitiveRowComparator, setCaseSensitiveRowComparator, setIgnoreIfGroupingValueIsNull, setIgnoreIfRowValueIsNull, setIgnoreIfValueIsNull, setMapNullValueToDefault, setRowComparator
-
Konstruktordetails
-
NumberByDoubleAggregator
Create an aggregator for numerical values.If a comparator is given "category" values for which this comparator returns a value of zero are considered equal.
- Parameter:
p_comparator- A comparator fordoublevalues, ornull.
-
-
Methodendetails
-
getAggregatedValues
Get an ascendingly ordered list of aggregated values.- Angegeben von:
getAggregatedValuesin KlasseAbstractNumberAggregator<Double,SumByDoubleAggregatorBucket> - Gibt zurück:
- The list of aggregated values.
-
add
Add an observation.- Parameter:
p_num- The numeric "category" value.p_strRow- The row value.p_value- The value.p_strSingleId- A an identifier that is being stored as long as there is exactly one such identifier for a group (normally a record ID).
-