|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectch.aplu.nxt.Tools
public class Tools
| Constructor Summary | |
|---|---|
Tools()
|
|
| Method Summary | |
|---|---|
static void |
delay(long duration)
Suspends execution of the current thread for the given amount of time. |
static long |
getTime()
Gets the timer's time. |
protected static int |
round(double x)
|
static void |
startTimer()
Starts a timer or restart it by setting its time to zero. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Tools()
| Method Detail |
|---|
public static void startTimer()
public static long getTime()
public static void delay(long duration)
duration - the duration (in ms)protected static int round(double x)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||