Java Sleep sleepThread(long millSecd)

Here you can find the source of sleepThread(long millSecd)

Description

sleep Thread

License

LGPL

Declaration

public static void sleepThread(long millSecd) 

Method Source Code

//package com.java2s;
//License from project: LGPL 

public class Main {

    public static void sleepThread(long millSecd) {
        try {//  w w w .j a v  a2s  .  co  m
            Thread.sleep(millSecd);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}

Related

  1. sleepRandom(long floor, long ceiling)
  2. sleepRandom(long timeout)
  3. sleepSafely(final long millis)
  4. sleepSilently(int millis)
  5. sleepSilently(int millis)
  6. sleepThread(long sleeptime)
  7. sleepTight(final long millis)
  8. sleepUninterruptedly(long millis)
  9. sleepUninterruptibly(long msecs)