public static class Timer.Context extends Object implements Closeable
Timer.time()| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
stop()
Stops recording the elapsed time, updates the timer and returns the elapsed time in
nanoseconds.
|
public long stop()
public void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2015. All rights reserved.