Class MemoizationListImpl.MemoizedView

java.lang.Object
org.reactfx.ObservableBase<LiveList.Observer<? super E,?>,QuasiListChange<? extends E>>
org.reactfx.collection.LiveListBase<E>
org.reactfx.collection.MemoizationListImpl.MemoizedView
All Implemented Interfaces:
Iterable<E>, Collection<E>, List<E>, SequencedCollection<E>, javafx.beans.Observable, javafx.collections.ObservableList<E>, AccessorListMethods<E>, LiveList<E>, ProperLiveList<E>, UnmodifiableByDefaultList<E>, UnmodifiableByDefaultLiveList<E>, Observable<LiveList.Observer<? super E,?>>, ProperObservable<LiveList.Observer<? super E,?>,QuasiListChange<? extends E>>
Enclosing class:
MemoizationListImpl<E>

private class MemoizationListImpl.MemoizedView extends LiveListBase<E> implements UnmodifiableByDefaultLiveList<E>
  • Constructor Details

    • MemoizedView

      private MemoizedView()
  • Method Details

    • observeInputs

      protected Subscription observeInputs()
      Description copied from class: ObservableBase
      Starts observing this observable's input(s), if any. This method is called when the number of observers goes from 0 to 1. This method is called before ObservableBase.newObserver(Object) is called for the first observer.
      Specified by:
      observeInputs in class ObservableBase<LiveList.Observer<? super E,?>,QuasiListChange<? extends E>>
      Returns:
      subscription used to stop observing inputs. The subscription is unsubscribed (i.e. input observation stops) when the number of observers goes down to 0.
    • get

      public E get(int index)
      Specified by:
      get in interface List<E>
    • size

      public int size()
      Specified by:
      size in interface Collection<E>
      Specified by:
      size in interface List<E>
    • prepareNotifications

      private void prepareNotifications(QuasiListChange<? extends E> change)
    • prepareNotifications

      private void prepareNotifications(QuasiListModification<? extends E> mod)
    • publishNotifications

      private void publishNotifications()