@InterfaceAudience.Public @InterfaceStability.Stable public class LongValueMax extends Object implements ValueAggregator<String>
| コンストラクタと説明 |
|---|
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 LongValueMax()
public void addNextValue(Object val)
addNextValue インタフェース内 ValueAggregator<String>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<String>public void reset()
reset インタフェース内 ValueAggregator<String>public ArrayList<String> getCombinerOutput()
getCombinerOutput インタフェース内 ValueAggregator<String>Copyright © 2016 Apache Software Foundation. All rights reserved.