public class AccumulatedValuesBean extends Object implements net.anotheria.util.sorter.IComparable
| Constructor and Description |
|---|
AccumulatedValuesBean(long aTimestamp)
Creates a new AccumulatedValuesBean with a timestamp.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(net.anotheria.util.sorter.IComparable anotherObject,
int method) |
String |
getTime()
Return the timestamp as time string.
|
long |
getTimestamp()
Return the timestamp as numeric value.
|
String |
getValue(String name)
Returns a value for named accumulator.
|
void |
setValue(String name,
String value)
Sets the value for defined accumulator.
|
String |
toString() |
public AccumulatedValuesBean(long aTimestamp)
aTimestamp - the timestamp.public void setValue(String name, String value)
name - value - public String getTime()
public int compareTo(net.anotheria.util.sorter.IComparable anotherObject,
int method)
compareTo in interface net.anotheria.util.sorter.IComparablepublic String getValue(String name)
name - name of the accumulator.public long getTimestamp()
Copyright © 2010-2015 anotheria.net. All Rights Reserved.