public class NanoTimeUtil extends Object
| Constructor and Description |
|---|
NanoTimeUtil() |
| Modifier and Type | Method and Description |
|---|---|
static long |
compare(long t1,
long t2)
Special compare function for comparing times returned by
System.nanoTime() to protect against numerical overflows.
|
public static long compare(long t1,
long t2)
System.nanoTime()Copyright © 2024. All rights reserved.