Java tutorial
//package com.java2s; public class Main { public static long sleep(long time) { try { Thread.currentThread(); Thread.sleep(time); } catch (InterruptedException e) { System.out.println("[ThreadUtils]-thread sleep error!"); e.printStackTrace(); } return time; } }