Java tutorial
//package com.java2s; public class Main { public static void sleep(long millis) { if (millis < 0) { return; } try { Thread.sleep(millis); } catch (InterruptedException e) { throw new RuntimeException(e); } } }