|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmil.navy.nps.dis.Timer
This Java class provides a simple timer using the system clock converted to seconds.
| 13 December 1998 | Scott Heller | New |
| Constructor Summary | |
Timer()
Constuctor: Sets the current timer to zero. |
|
| Method Summary | |
float |
getDuration()
Returns the number of seconds since the timer was reset. |
void |
reset()
Sets the current timer to zero. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Timer()
| Method Detail |
public void reset()
public float getDuration()
public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||