Class Sleep

java.lang.Object
com.netlang.lang.Sleep

public class Sleep extends Object
Sleep The Sleep class
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    period(long hours, long minutes, long seconds, long millisec)
    Sleep the specified period

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Sleep

      public Sleep()
  • Method Details

    • period

      public static void period(long hours, long minutes, long seconds, long millisec) throws InterruptedException
      Sleep the specified period
      Parameters:
      hours -
      minutes -
      seconds -
      millisec -
      Throws:
      InterruptedException