Here you can find the source of sleepyMillis(long millis)
Parameter | Description |
---|---|
millis | the count of milli seconds |
public static void sleepyMillis(long millis)
//package com.java2s; public class Main { /**// w ww .j av a 2 s .c o m * Sleeps for the given count of milli seconds (1000ms = 1sec). InterruptedException * are all ignored. * * @param millis the count of milli seconds */ public static void sleepyMillis(long millis) { try { Thread.sleep(millis); } catch (InterruptedException e) { } } }