Java Sleep sleep()

Here you can find the source of sleep()

Description

sleep

License

Apache License

Declaration

public static void sleep() 

Method Source Code

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

public class Main {
    private final static long MINUTE = 60 * 1000L;

    public static void sleep() {
        try {/*w w  w .  j a v a 2 s  .  c  o  m*/
            Thread.sleep(MINUTE);
        } catch (InterruptedException e) {
            // swallow the exception
        }
    }
}

Related

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