Class WaitUtil


  • public class WaitUtil
    extends Object
    A utility that provides a simple wait
    Author:
    Bill Branan Date: 7/19/13
    • Method Detail

      • wait

        public static void wait​(int seconds)
        Causes the current thread to waits for a given number of seconds.
        Parameters:
        seconds - - the number of seconds to wait
      • waitMs

        public static void waitMs​(long milliseconds)
        Causes the current thread to waits for a given number of milliseconds.
        Parameters:
        milliseconds - - the number of milliseconds to wait