Java Sleep sleepMilliseconds(long ms)

Here you can find the source of sleepMilliseconds(long ms)

Description

sleep Milliseconds

License

Apache License

Declaration

public static void sleepMilliseconds(long ms) 

Method Source Code

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

public class Main {
    public static void sleepMilliseconds(long ms) {
        try {/*from ww  w  . j a va2s  .  co m*/
            Thread.sleep(ms);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}

Related

  1. sleepInterruptible(long timeMillis)
  2. sleepMillis(int milliseconds)
  3. sleepMillis(long millis)
  4. sleepMillis(long millis)
  5. sleepMilliseconds(long ms)
  6. sleepMs(final int millis)
  7. sleepMSInChunks(long ms)
  8. sleepNanos(final long nanoDuration)
  9. sleepNanos(long nanoseconds)