public class NanoTimeSource extends java.lang.Object implements TimeSource
| Constructor and Description |
|---|
NanoTimeSource() |
| Modifier and Type | Method and Description |
|---|---|
long |
getTime()
Returns the current time in nanoseconds.
|
public long getTime()
getTime in interface TimeSource