Java Sleep sleepForSomeTime(long milliseconds)

Here you can find the source of sleepForSomeTime(long milliseconds)

Description

sleep For Some Time

License

Open Source License

Declaration

public static void sleepForSomeTime(long milliseconds) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static void sleepForSomeTime(long milliseconds) {
        try {//from   ww w .  ja  v a  2 s. c  o m
            Thread.sleep(milliseconds);
        } catch (InterruptedException ignore) {
        }
    }
}

Related

  1. sleepForever()
  2. sleepForever()
  3. sleepForIOCatchup()
  4. sleepForReal(long time)
  5. sleepForSecs(double numSecs)
  6. sleepForTimestamp()
  7. sleepIgnoreInterupt(long millis)
  8. sleepInterruptible(long timeMillis)
  9. sleepMillis(int milliseconds)