Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to stop timer in java

timer.cancel();  //Terminates this timer,discarding any currently scheduled tasks.

timer.purge();   // Removes all cancelled tasks from this timer's task queue.
 
PREVIOUS NEXT
Tagged: #stop #timer #java
ADD COMMENT
Topic
Name
2+2 =