Assertion: class stopwatch | /r/CapableOf | extend timertask
Facets:
Source sentences:
text: public class Stopwatch extends TimerTask { private final double start = System.currentTimeMillis(); public void run() { double curr = System.currentTimeMillis(); System.out.println((curr - start) / 1000); } }