| |
|
| java.lang.Object seda.util.MDWUtil
MDWUtil | public class MDWUtil (Code) | | This class provides some generic utility functions.
author: Matt Welsh |
Method Summary | |
native public static long | currentTimeUsec() Returns the current time in microseconds. | public static String | format(double val) | static void | loadNativeLibrary() | public static void | sleep(long delay) Cause the current thread to sleep for the given number of
milliseconds. | native public static void | usleep(long delay) Cause the current thread to sleep for the given number of
microseconds. |
nativeLibraryLoadLock | static Object nativeLibraryLoadLock(Code) | | |
nativeLibraryLoaded | static boolean nativeLibraryLoaded(Code) | | |
currentTimeUsec | native public static long currentTimeUsec()(Code) | | Returns the current time in microseconds.
|
format | public static String format(double val)(Code) | | Format decimals to 4 digits only
|
loadNativeLibrary | static void loadNativeLibrary()(Code) | | |
sleep | public static void sleep(long delay)(Code) | | Cause the current thread to sleep for the given number of
milliseconds. Returns immediately if the thread is interrupted, but
does not throw an exception.
|
usleep | native public static void usleep(long delay)(Code) | | Cause the current thread to sleep for the given number of
microseconds. Returns immediately if the thread is interrupted, but
does not throw an exception.
|
|
|
|