public class AccumulatedValuesBean
extends java.lang.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) |
java.lang.String |
getTime()
Return the timestamp as time string.
|
long |
getTimestamp()
Return the timestamp as numeric value.
|
java.lang.String |
getValue(java.lang.String name)
Returns a value for named accumulator.
|
void |
setValue(java.lang.String name,
java.lang.String value)
Sets the value for defined accumulator.
|
java.lang.String |
toString() |
public AccumulatedValuesBean(long aTimestamp)
aTimestamp - the timestamp.public java.lang.String toString()
toString in class java.lang.Objectpublic void setValue(java.lang.String name,
java.lang.String value)
name - value - public java.lang.String getTime()
public int compareTo(net.anotheria.util.sorter.IComparable anotherObject,
int method)
compareTo in interface net.anotheria.util.sorter.IComparablepublic java.lang.String getValue(java.lang.String name)
name - name of the accumulator.public long getTimestamp()
Copyright © 2010-2020 anotheria.net. All Rights Reserved.