Class InvalidatedVal<T>

  • All Implemented Interfaces:
    javafx.beans.Observable, javafx.beans.value.ObservableValue<T>, org.reactfx.Observable<Consumer<? super T>>, org.reactfx.ProperObservable<Consumer<? super T>,​T>, org.reactfx.value.ProperVal<T>, org.reactfx.value.Val<T>

    public class InvalidatedVal<T>
    extends org.reactfx.value.ValBase<T>
    • Constructor Summary

      Constructors 
      Constructor Description
      InvalidatedVal​(org.reactfx.value.Val<T> base, Function<T,​org.reactfx.EventStream<?>> otherTicks)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected T computeValue()  
      protected org.reactfx.Subscription connect()  
      • Methods inherited from class org.reactfx.value.ValBase

        getValue, invalidate, newObserver, observeInputs
      • Methods inherited from class org.reactfx.ObservableBase

        addObserver, enqueueNotifications, equals, forEachObserver, getObserverCount, hashCode, isObservingInputs, notifyObservers, notifyObservers, observe, removeObserver, toString
      • 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.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
    • Constructor Detail

      • InvalidatedVal

        public InvalidatedVal​(org.reactfx.value.Val<T> base,
                              Function<T,​org.reactfx.EventStream<?>> otherTicks)
    • Method Detail

      • connect

        protected org.reactfx.Subscription connect()
        Specified by:
        connect in class org.reactfx.value.ValBase<T>
      • computeValue

        protected T computeValue()
        Specified by:
        computeValue in class org.reactfx.value.ValBase<T>