T
- item type.public static class ContextProperty.Wrapper<T> extends Object implements ContextProperty<T>
ContextProperty
.ContextProperty.Impl<T>, ContextProperty.Wrapper<T>
log
Constructor and Description |
---|
Wrapper(ContextProperty<T> delegate) |
Modifier and Type | Method and Description |
---|---|
void |
mutate(io.reactivex.functions.Consumer<T> mutator) |
io.reactivex.disposables.Disposable |
observe(io.reactivex.functions.Consumer<Optional<T>> action) |
io.reactivex.disposables.Disposable |
observeNullable(io.reactivex.functions.Consumer<T> action) |
void |
set(T value,
boolean shouldNotifyOnSameItem) |
Optional<T> |
value() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
nullableValue, set
public Wrapper(ContextProperty<T> delegate)
public io.reactivex.disposables.Disposable observeNullable(io.reactivex.functions.Consumer<T> action)
observeNullable
in interface ContextProperty<T>
public io.reactivex.disposables.Disposable observe(io.reactivex.functions.Consumer<Optional<T>> action)
observe
in interface ContextProperty<T>
public Optional<T> value()
value
in interface ContextProperty<T>
public void set(T value, boolean shouldNotifyOnSameItem)
set
in interface ContextProperty<T>
public void mutate(io.reactivex.functions.Consumer<T> mutator)
mutate
in interface ContextProperty<T>
Copyright © 2019 Magnolia International Ltd.. All rights reserved.