|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ejie.r01f.util.timing.R01FStopWatch
Clase que actua de "cronometro" y que se puede utilizar para "medir" el tiempo de ejecución de código
Constructor Summary | |
R01FStopWatch()
Constructor vacio |
Method Summary | |
static void |
main(java.lang.String[] arguments)
An example of the use of this class to time the execution of String manipulation code. |
void |
start()
Start the stopwatch. |
void |
stop()
Stop the stopwatch. |
java.lang.String |
toString()
Express the "reading" on the stopwatch. |
long |
toValue()
Express the "reading" on the stopwatch as a numeric type. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public R01FStopWatch()
Method Detail |
public void start()
java.lang.IllegalStateException
- if the stopwatch is already running.public void stop()
java.lang.IllegalStateException
- if the stopwatch is not already running.public java.lang.String toString()
java.lang.IllegalStateException
- if the Stopwatch has never been used,
or if the stopwatch is still running.public long toValue()
java.lang.IllegalStateException
- if the Stopwatch has never been used,
or if the stopwatch is still running.public static void main(java.lang.String[] arguments)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |