public class Timer extends AbstractTimer
NANOS_TO_MILLIS| Constructor and Description |
|---|
Timer()
Creates a new instance of the Timer class.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getElapsedNanos()
Gets the elapsed time, in nanoseconds.
|
getElapsed, getElapsedMillis, toStringpublic long getElapsedNanos()
AbstractTimergetElapsedNanos in class AbstractTimer