|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectseda.util.MDWUtil
public class MDWUtil
This class provides some generic utility functions.
Field Summary | |
---|---|
(package private) static boolean |
nativeLibraryLoaded
|
(package private) static java.lang.Object |
nativeLibraryLoadLock
|
Constructor Summary | |
---|---|
MDWUtil()
|
Method Summary | |
---|---|
static long |
currentTimeUsec()
Returns the current time in microseconds. |
static java.lang.String |
format(double val)
Format decimals to 4 digits only |
(package private) static void |
loadNativeLibrary()
|
static void |
sleep(long delay)
Cause the current thread to sleep for the given number of milliseconds. |
static void |
usleep(long delay)
Cause the current thread to sleep for the given number of microseconds. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static boolean nativeLibraryLoaded
static java.lang.Object nativeLibraryLoadLock
Constructor Detail |
---|
public MDWUtil()
Method Detail |
---|
static void loadNativeLibrary()
public static long currentTimeUsec()
public static void usleep(long delay)
public static java.lang.String format(double val)
public static void sleep(long delay)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |