|
eaLib API Docs Last Modified : January 7 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mss.ea.stat.Timer
Implementation of a simple timer.
Field Summary | |
protected java.util.Date |
start
Date holding the start time. |
protected long |
state
Array with timer values. |
protected java.util.Date |
stop
Date holding the stop time. |
Constructor Summary | |
Timer()
|
Method Summary | |
void |
reset()
Resets the timer. |
void |
start()
Starts the timer. |
void |
stop()
Stops the timer. |
java.lang.String |
toString()
Returns a string representation. |
long |
value()
Gets the timer state. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.util.Date start
protected java.util.Date stop
protected long state
Constructor Detail |
public Timer()
Method Detail |
public void start()
public void stop()
public void reset()
public long value()
public java.lang.String toString()
toString
in class java.lang.Object
|
eaLib API Docs Last Modified : January 7 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |