|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AggregationValue
An element of aggregated data stored in an Aggregation
.
Concrete implementations of this interface will implement different aggregating functions.
Method Summary | |
---|---|
void |
add(long data)
Adds a data item to the aggregated value. |
void |
clear()
Removes all data items previously added. |
java.lang.Object |
getData()
|
long |
getValue()
|
Method Detail |
---|
void add(long data)
data
- the data valuevoid clear()
long getValue()
java.lang.Object getData()
Integer.valueOf( getValue() )
. More complex aggregations such may return objects
representing histograms, etc.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |