public class ValueHistogram extends Object implements ValueAggregator
| 构造器和说明 |
|---|
ValueHistogram() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addNextValue(Object val)
add the given val to the aggregator.
|
ArrayList |
getCombinerOutput() |
String |
getReport() |
String |
getReportDetails() |
TreeMap |
getReportItems() |
void |
reset()
reset the aggregator
|
public void addNextValue(Object val)
addNextValue 在接口中 ValueAggregatorval - the value to be added. It is expected to be a string
in the form of xxxx\tnum, meaning xxxx has num occurrences.public String getReport()
getReport 在接口中 ValueAggregatorpublic String getReportDetails()
public ArrayList getCombinerOutput()
getCombinerOutput 在接口中 ValueAggregatorpublic TreeMap getReportItems()
public void reset()
reset 在接口中 ValueAggregatorCopyright © 2009 The Apache Software Foundation