public static interface SimpleTimer.Context
extends java.io.Closeable
SimpleTimer.time()| Modifier and Type | Method and Description |
|---|---|
void |
close()
Equivalent to calling
stop(). |
long |
stop()
Updates the simple timer with the difference between current and start time.
|
long stop()
void close()
stop().close in interface java.lang.AutoCloseableclose in interface java.io.Closeable