public static void sleep ( long timeout , TimeUnit unit ) throws SystemException { suppress ( ( Long sleepTimeout ) -> Thread . sleep ( sleepTimeout ) ) . accept ( TimeUnit . MILLISECONDS . convert ( timeout , unit ) ) ; }
Causes the current thread to wait until the specified waiting time elapses .