|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.wpi.cs.dsrg.xmldb.xat.component.gui.utils.StatisticValue
A StatisticValue
is a pair of strings.
The first string is the statistic value and the second
string is the time at which the value was stored in
StatisticStorage
.
The time is in the format of h:mm:ss:SSS
(i.e. 17:24:55:937) where:
h
is the hour (1-24) in the day
m
is the minute in the hour
s
is the second in the minute
S
is the millisecond in the second
Field Summary | |
(package private) java.text.SimpleDateFormat |
TIME
The format for the timestamp. |
Constructor Summary | |
StatisticValue(java.lang.String value,
java.sql.Timestamp ts)
Constructor that makes a new statistic value pair with the given value and time in the format of h:mm:ss:SSS (i.e. |
Method Summary | |
java.lang.String |
getTime()
Returns the time when this statistic value was stored in StatisticStorage . |
java.lang.String |
getValue()
Returns the value of this statistic value pair. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
final java.text.SimpleDateFormat TIME
Constructor Detail |
public StatisticValue(java.lang.String value, java.sql.Timestamp ts)
value
and time in the format of h:mm:ss:SSS (i.e. 17:24:55:937) where:
value
- the statistic valuets
- the timestamp of when the value was stored in StatisticStorage
Method Detail |
public java.lang.String getTime()
StatisticStorage
.
public java.lang.String getValue()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |