|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectproper.util.Stopwatch
public class Stopwatch
This class provides a simple method to measure runtime behaviour.
Constructor Summary | |
---|---|
Stopwatch()
initializes the object |
Method Summary | |
---|---|
long |
getMilliSeconds()
returns the milliseconds |
long |
getSeconds()
returns the seconds |
void |
start()
starts the "clock" |
void |
stop()
stops the "clock" |
java.lang.String |
toString()
returns the time in Seconds |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Stopwatch()
Method Detail |
---|
public void start()
public void stop()
public long getSeconds()
public long getMilliSeconds()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |