public static class NanoTimeStopwatchFactory.NanoTimeStopwatch extends Object implements Stopwatch
| Constructor and Description |
|---|
NanoTimeStopwatch() |
| Modifier and Type | Method and Description |
|---|---|
long |
getElapsedTime()
Returns the elapsed time in nanoseconds since
start(). |
Stopwatch |
start()
Start the stopwatch.
|
public long getElapsedTime()
start().getElapsedTime in interface Stopwatchstart()Copyright © 2026. All rights reserved.