T
- property value typepublic static class ContextProperty.Impl<T> extends Object implements ContextProperty<T>
ContextProperty
.ContextProperty.Impl<T>, ContextProperty.Wrapper<T>
Modifier and Type | Method and Description |
---|---|
T |
applyValueTransformers(T value) |
io.reactivex.Flowable<Optional<T>> |
asFlowable() |
void |
doSet(T value,
boolean shouldNotifyOnSameItem) |
void |
interceptWith(UnaryOperator<T> valueTransformer) |
io.reactivex.disposables.Disposable |
observe(Consumer<Optional<T>> action) |
io.reactivex.disposables.Disposable |
observeNullable(Consumer<T> action) |
void |
set(T value,
boolean shouldNotifyOnSameItem) |
void |
update(Consumer<T> updateOperation) |
void |
update(UnaryOperator<T> updateOperation) |
Optional<T> |
value() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
nullableValue, set
public io.reactivex.disposables.Disposable observeNullable(Consumer<T> action)
observeNullable
in interface ContextProperty<T>
public io.reactivex.disposables.Disposable observe(Consumer<Optional<T>> action)
observe
in interface ContextProperty<T>
public void update(UnaryOperator<T> updateOperation)
update
in interface ContextProperty<T>
public void update(Consumer<T> updateOperation)
update
in interface ContextProperty<T>
public Optional<T> value()
value
in interface ContextProperty<T>
public void interceptWith(UnaryOperator<T> valueTransformer)
interceptWith
in interface ContextProperty<T>
public void set(T value, boolean shouldNotifyOnSameItem)
set
in interface ContextProperty<T>
public void doSet(T value, boolean shouldNotifyOnSameItem)
Copyright © 2020 Magnolia International Ltd.. All rights reserved.