public class SleepWrapper
extends java.lang.Object
Constructor and Description |
---|
SleepWrapper() |
Modifier and Type | Method and Description |
---|---|
static long |
roundedSleep(long sleepInMillis)
Takes the number of milliseconds as input and rounds it to the nearest 50 millisecond mark.
|
public static long roundedSleep(long sleepInMillis)
sleepInMillis
- the sleep time in milliseconds that has to be rounded appropriatley