Package Common
Class CustomTimer
java.lang.Object
Common.CustomTimer
The
CustomTimer
class provides utility methods for managing time-related
operations, such as pausing execution of the current thread for a specified duration.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
pause
(long time) Pauses the execution of the current thread for a specified amount of time.
-
Constructor Details
-
CustomTimer
public CustomTimer()
-
-
Method Details
-
pause
public static void pause(long time) Pauses the execution of the current thread for a specified amount of time.- Parameters:
time
- the duration in milliseconds for which to pause the thread
-