T - the type of the valuepublic interface ObservableProperty<T> extends ObservableValue<T>, Property<T>
property which is observable as per
ObservableValue, and whose value can also be set.ObservableValue.Change<T>| Modifier and Type | Method and Description |
|---|---|
static <T> ObservableProperty<T> |
over(T initialValue)
Instantiate an observable property with identity assignment and identity
equality.
|
void |
setProblem(java.lang.Throwable t) |
default java.util.Optional<T> |
tryGet()
Immediately resolve the current value, if one exists.
|
changes, get, getProblem, isEqual, isMatching, isValid, tryGetProblemaggregateBackpressure, aggregateBackpressure, collect, collectBackpressure, compose, concat, concat, concatMap, dropWhile, empty, executeOn, failingValue, filter, flatMap, getNext, map, materialize, merge, merge, mergeMap, observe, observe, of, of, of, reduce, reduceBackpressure, reduceBackpressure, reduceBackpressure, repeating, requestNext, requestUnbounded, retrying, softReference, softReference, synchronize, synchronize, takeWhile, then, thenAfter, toObservable, toValue, toValue, toValue, upcast, value, weakReference, weakReferencestatic <T> ObservableProperty<T> over(T initialValue)
T - the type of event message to produce and which we may assign frominitialValue - the initial valuevoid setProblem(java.lang.Throwable t)
default java.util.Optional<T> tryGet()
ObservableValuetryGet in interface Observable<T>tryGet in interface ObservableValue<T>tryGet in interface Property<T>