|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Event
An event represents something which occurred in the world at some point in
time. It usually contains a timestamp. An example of an event could be:
"Ship #29384 moved from (183.23, 330.19) to (187.94, 334.82) at
22:43 26/07/2015". When the probability of an event is 1, it is sent to the
application via the
confirmedEvent
method of the Watcher interface
1. Events should never be changed, after their creation. This can be enforced if all fields are final, or all fields are private and only getter methods are available.
2. Events MUST implement the hashCode and
the equals methods.
confirmedEvent,
confirmedEvents
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||