How to killi thread and stop java.util.Timer?
916217Mar 5 2012 — edited Mar 7 2012Hi,
I have and array list, this list contains my objects (extended from Thread) and these threads use Timer (java.util.Timer).
In certain time i need to find the object in array list, destroy this concrete thread and immediately stop the timer.
I'm not sure what is the best way how to a) destroy the thread and b) stop timer.
Could you advise me what technique to use?
Thanks.