|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.ephyra.util.Clock
public class Clock
Implementation of a stop watch.
| Field Summary | |
|---|---|
private static boolean |
isRunning
Is the clock running? |
private static long |
startTime
Starting time. |
private static long |
stopTime
Stop time. |
| Constructor Summary | |
|---|---|
Clock()
|
|
| Method Summary | |
|---|---|
static long |
getTime()
Returns the time that has passed. |
static void |
start()
Starts the clock. |
static void |
stop()
Stops the clock. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static boolean isRunning
private static long startTime
private static long stopTime
| Constructor Detail |
|---|
public Clock()
| Method Detail |
|---|
public static void start()
public static void stop()
public static long getTime()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||