T
- the type of the publisher objectU
- the type of the optional data argumentpublic interface Subscriber<T,U>
Subscriptions
Modifier and Type | Method and Description |
---|---|
void |
update(T publisher,
U data)
This method is called whenever the published object is changed.
|