|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Time
An interface abstracting the clock to use in unit testing classes that make use of clock time
Method Summary | |
---|---|
long |
milliseconds()
The current time in milliseconds |
long |
nanoseconds()
The current time in nanoseconds |
void |
sleep(long ms)
Sleep for the given number of milliseconds |
Method Detail |
---|
long milliseconds()
long nanoseconds()
void sleep(long ms)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |