public interface IClock
Modifier and Type | Method and Description |
---|---|
double |
getTime() |
double |
getTimeShift() |
void |
setTimeShift(double shift)
sets a constant for the clock to be adjusted by.
|
double |
waitForChange()
wait for any change of time
|
double |
waitForTime(double time)
wait for this time to be reached, returning the current time
|
double getTime()
double waitForTime(double time) throws java.lang.InterruptedException
time
- java.lang.InterruptedException
double waitForChange() throws java.lang.InterruptedException
java.lang.InterruptedException
void setTimeShift(double shift)
shift
- double getTimeShift()