public static class Timer.Context
extends java.lang.Object
implements java.io.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.
|
public long stop()
public void close()
stop().close in interface java.io.Closeableclose in interface java.lang.AutoCloseable"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"