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
在接口中 ValueAggregator
val
- 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
在接口中 ValueAggregator
public void reset()
reset
在接口中 ValueAggregator
public ArrayList<String> getCombinerOutput()
getCombinerOutput
在接口中 ValueAggregator
Copyright © 2009 The Apache Software Foundation