public class ThreadUtils extends java.lang.Object
Constructor and Description |
---|
ThreadUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
sleep(long milliseconds)
Causes the current thread to sleep the given number of milliseconds.
|
public ThreadUtils()
public static void sleep(long milliseconds)
InterruptedException
is
thrown. Any InterruptedException
is silently discarded.