Package org.reactfx.value
Class SuspendableValWrapper<T>
- java.lang.Object
-
- org.reactfx.ObservableBase<O,T>
-
- org.reactfx.SuspendableBase<java.util.function.Consumer<? super T>,T,T>
-
- org.reactfx.value.SuspendableValWrapper<T>
-
- All Implemented Interfaces:
javafx.beans.Observable,javafx.beans.value.ObservableValue<T>,Observable<java.util.function.Consumer<? super T>>,ProperObservable<java.util.function.Consumer<? super T>,T>,Suspendable,ProperVal<T>,SuspendableVal<T>,Val<T>
- Direct Known Subclasses:
SuspendableVarWrapper
class SuspendableValWrapper<T> extends SuspendableBase<java.util.function.Consumer<? super T>,T,T> implements SuspendableVal<T>, ProperVal<T>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSuspendableValWrapper(Val<T> obs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TgetValue()protected TheadOf(T accum)protected AccumulatorSizesizeOf(T accum)protected TtailOf(T accum)-
Methods inherited from class org.reactfx.SuspendableBase
initialAccumulator, isSuspended, observeInputs, reduce, suspend
-
Methods inherited from class org.reactfx.ObservableBase
addObserver, enqueueNotifications, equals, forEachObserver, getObserverCount, hashCode, isObservingInputs, newObserver, notifyObservers, notifyObservers, observe, removeObserver, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.reactfx.Observable
addObserver, observe, removeObserver
-
Methods inherited from interface org.reactfx.ProperObservable
defaultEquals, defaultHashCode, defaultToString, notifyObservers
-
Methods inherited from interface org.reactfx.value.ProperVal
defaultNotificationAccumulator
-
Methods inherited from interface org.reactfx.Suspendable
suspend, suspendWhen, suspendWhile, suspendWhile
-
Methods inherited from interface org.reactfx.value.Val
addInvalidationObserver, addListener, addListener, animate, animate, asList, asVar, changes, conditionOn, conditionOnShowing, filter, flatMap, getOpt, getOrElse, getOrSupply, getOrThrow, ifPresent, invalidations, isEmpty, isPresent, map, mapDynamic, observeChanges, observeInvalidations, orElse, orElseConst, pin, removeInvalidationObserver, removeListener, removeListener, selectVar, selectVar, suspendable, values
-
-
-
-
Method Detail
-
getValue
public T getValue()
- Specified by:
getValuein interfacejavafx.beans.value.ObservableValue<T>
-
sizeOf
protected AccumulatorSize sizeOf(T accum)
- Specified by:
sizeOfin classSuspendableBase<java.util.function.Consumer<? super T>,T,T>
-
headOf
protected T headOf(T accum)
- Specified by:
headOfin classSuspendableBase<java.util.function.Consumer<? super T>,T,T>
-
-