Class MemoizationListImpl.MemoizedView

    • Constructor Detail

      • MemoizedView

        private MemoizedView()
    • Method Detail

      • 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 java.util.List<E>
      • size

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

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

        private void publishNotifications()