public static interface Timer.Context extends Closeable
Timer.time()
Modifier and Type | Method and Description |
---|---|
void |
close()
Equivalent to calling
stop() . |
long |
stop()
Updates the timer with the difference between current and start time.
|
long stop()
void close()
stop()
.close
in interface AutoCloseable
close
in interface Closeable
Copyright © 2017 – 2020 Eclipse Foundation. All rights reserved.
Use is subject to license terms.