| Constructor and Description |
|---|
NotifyConsumer(java.lang.Object notifyKey,
Observable observable)
Creates a new
NotifyConsumer that will notify the given observable using
the given notifyKey. |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(T t)
Execute the logic of the action, accepting the given parameter.
|
public NotifyConsumer(java.lang.Object notifyKey,
Observable observable)
NotifyConsumer that will notify the given observable using
the given notifyKey. If notifyKey is null, observable
will be notified without a key.notifyKey - The notification key, may be nullobservable - The observable to notify. May not be null