public class LongValueMax extends Object implements ValueAggregator
| 构造器和说明 |
|---|
LongValueMax()
the default constructor
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addNextValue(long newVal)
add a value to the aggregator
|
void |
addNextValue(Object val)
add a value to the aggregator
|
ArrayList<String> |
getCombinerOutput() |
String |
getReport() |
long |
getVal() |
void |
reset()
reset the aggregator
|
public void addNextValue(Object val)
addNextValue 在接口中 ValueAggregatorval - an object whose string representation represents a long value.public void addNextValue(long newVal)
newVal - a long value.public long getVal()
public String getReport()
getReport 在接口中 ValueAggregatorpublic void reset()
reset 在接口中 ValueAggregatorpublic ArrayList<String> getCombinerOutput()
getCombinerOutput 在接口中 ValueAggregatorCopyright © 2009 The Apache Software Foundation