Here you can find the source of sleepDeep(long millis)
Parameter | Description |
---|---|
millis | a parameter |
public static void sleepDeep(long millis)
//package com.java2s; /**/*from ww w . j av a2 s .c om*/ * Copyright (c) 2012 Todoroo Inc * * See the file "LICENSE" for the full license governing this code. */ public class Main { /** * Sleep, suppressing exceptions * * @param millis */ public static void sleepDeep(long millis) { try { Thread.sleep(millis); } catch (InterruptedException e) { // do nothing } } }