|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcds.util.Chrono
Class allowing time measurements in a programme. A Chrono object can be started, stopped and can display its value
Field Summary | |
private long |
debut
|
private long |
duree
|
Constructor Summary | |
Chrono()
Constructor and Chronometer start |
Method Summary | |
void |
start()
Starts the chronometer |
long |
stop()
Stops the chronometer. |
java.lang.String |
toString()
|
double |
val(java.lang.String type)
Returns the value of the Chronometer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private long debut
private long duree
Constructor Detail |
public Chrono()
Method Detail |
public void start()
public long stop()
public double val(java.lang.String type)
type
- type of value: M=milliseconds, S=seconds
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |