Timertask is a Java API class.
I have a function that looks like this: private Timer timer = new Timer(); private void doSomething() { timer.schedule(new TimerTask() { …