Java Sleep sleep(int seconds)

Here you can find the source of sleep(int seconds)

Description

sleep

Declaration

private static void sleep(int seconds) 

Method Source Code

//package com.java2s;

public class Main {
    private static void sleep(int seconds) {
        try {// w  w  w.j av a2s  .c  o m
            Thread.sleep(seconds * 1000);
        } catch (InterruptedException e) {
        }
    }
}

Related

  1. sleep(int minwait, int maxwait)
  2. sleep(int ms)
  3. sleep(int ms)
  4. sleep(int retryInterval)
  5. sleep(int sec)
  6. sleep(int sleepInSeconds)
  7. sleep(int toSleep)
  8. sleep(Integer seconds)
  9. sleep(Integer threadWaitInMs)