Here you can find the source of sleep(long l)
Parameter | Description |
---|---|
l | a parameter |
public static void sleep(long l)
//package com.java2s; //License from project: Open Source License public class Main { /**//from w w w . j a v a 2s.co m * Small Utility to consume the InterruptedException associated wiht Thread.sleep * * @param l */ public static void sleep(long l) { try { Thread.sleep(l); } catch (final InterruptedException e) { } } }