|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ujac.util.StopWatch
public class StopWatch
Name: StopWatch
Description: A class for time measurements.
| Constructor Summary | |
|---|---|
StopWatch()
Constructs a StopWatch instance with no specific attributes. |
|
| Method Summary | |
|---|---|
long |
getDuration()
Gets the time duration. |
long |
getStartTime()
Gets the start time. |
long |
getStopTime()
Gets the stop time. |
long |
meantime()
Gets the current mean time that has been passed since the latest start time. |
long |
reset()
Resets the stop watch. |
long |
stop()
Stops the time measuring. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StopWatch()
| Method Detail |
|---|
public long stop()
public long meantime()
public long reset()
public long getStartTime()
public long getStopTime()
public long getDuration()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||