Java Sleep sleep()

Here you can find the source of sleep()

Description

sleep

License

Open Source License

Declaration

public static void sleep() 

Method Source Code

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

public class Main {
    public static void sleep() {
        try {// w w w.j  av  a  2  s. c om
            Thread.sleep(1000 * 5);
        } catch (Exception e) {
            /*ignore*/}
    }
}

Related

  1. sleep()
  2. sleep()
  3. sleep()
  4. sleep()
  5. sleep(double numSeconds)
  6. sleep(double seconds)
  7. sleep(double secs)