|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.bigbross.bossa.DeterministicTimeSource
This class implements a deterministic time source. Once the time of this time source is set, it will remain constant until it is set again.
| Constructor Summary | |
DeterministicTimeSource()
Creates a new deterministic time source. |
|
| Method Summary | |
Date |
getTime()
Returns the current time. |
void |
setTime(Date time)
Sets the time of this time source. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DeterministicTimeSource()
| Method Detail |
public void setTime(Date time)
time - the new time.public Date getTime()
TimeSource
getTime in interface TimeSourceTimeSource.getTime()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||