T
- Argument typepublic class ObjectNotifier<T> extends Object implements Consumer<T>, Notifier<T>
Constructor and Description |
---|
ObjectNotifier() |
Modifier and Type | Method and Description |
---|---|
void |
apply(T value)
Applies this function to
input |
void |
subscribe(Consumer<T> consumer)
Subscribe consumer to notifications on the given object.
|
String |
toString() |
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.