Interface Clock
-
public interface Clock
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longnanoTime()voidsleep(long millis)
-
-
-
Field Detail
-
INSTANCE
static final Clock INSTANCE
-
-
Method Detail
-
nanoTime
long nanoTime()
-
sleep
void sleep(long millis) throws InterruptedException- Throws:
InterruptedException
-
-