Java Sleep sleep(long millions)

Here you can find the source of sleep(long millions)

Description

sleep

License

Apache License

Declaration

@SuppressWarnings("static-access")
public static void sleep(long millions) 

Method Source Code

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

public class Main {

    @SuppressWarnings("static-access")
    public static void sleep(long millions) {
        try {/*from   w w  w .j a  v  a  2s. c o m*/
            Thread.currentThread().sleep(millions);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}

Related

  1. sleep(Integer threadWaitInMs)
  2. sleep(long duration)
  3. sleep(long interval)
  4. sleep(long l)
  5. sleep(long milli)
  6. sleep(long millis)
  7. sleep(long millis)
  8. sleep(long millis)
  9. sleep(long millis)