I want to write a version of the Timer class so that I have more control over the events like being able to pause the timer.
The library version of Timer.Schedule has the definition:
Schedule( java.util.TimerTask task, long delay);
How would I code the definition of my version of this method, so that it recognises the method I pass it as a TimerTask ?
In C it would be a function pointer.