org.cybergarage.util

## Class TimerUtil

- java.lang.Object
- - org.cybergarage.util.TimerUtil

-     public final class TimerUtil
      extends Object

  Utility class providing timer and thread sleeping functionality. This class contains static methods for pausing execution and generating random wait times, useful for timing control and thread management.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TimerUtil()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `wait(int waitTime)` Pauses the current thread for the specified amount of time.
    `static void` | `waitRandom(int time)` Pauses the current thread for a random amount of time up to the specified maximum.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### TimerUtil

          public TimerUtil()

  - ### Method Detail

    - #### wait

          public static final void wait(int waitTime)

      Pauses the current thread for the specified amount of time.
      Parameters:
        `waitTime` - the time to wait in milliseconds

    - #### waitRandom

          public static final void waitRandom(int time)

      Pauses the current thread for a random amount of time up to the specified maximum.
      Parameters:
        `time` - the maximum time to wait in milliseconds