Module swim.store
Package swim.store

Class ListDataView<V>

    • Constructor Detail

      • ListDataView

        public ListDataView​(ListDataBinding dataBinding,
                            swim.structure.Form<V> valueForm)
    • Method Detail

      • name

        public swim.structure.Value name()
        Specified by:
        name in interface swim.api.data.ListData<V>
      • valueForm

        public <V> ListDataView<V> valueForm​(swim.structure.Form<V> valueForm)
        Specified by:
        valueForm in interface swim.api.data.ListData<V>
        Overrides:
        valueForm in class swim.structure.collections.ValueKeyedList<V>
      • valueClass

        public <V> ListDataView<V> valueClass​(Class<V> valueClass)
        Specified by:
        valueClass in interface swim.api.data.ListData<V>
        Overrides:
        valueClass in class swim.structure.collections.ValueKeyedList<V>
      • isResident

        public boolean isResident()
        Specified by:
        isResident in interface swim.api.data.ListData<V>
      • isResident

        public ListDataView<V> isResident​(boolean isResident)
        Specified by:
        isResident in interface swim.api.data.ListData<V>
      • isTransient

        public boolean isTransient()
        Specified by:
        isTransient in interface swim.api.data.ListData<V>
      • isTransient

        public ListDataView<V> isTransient​(boolean isTransient)
        Specified by:
        isTransient in interface swim.api.data.ListData<V>
      • drop

        public void drop​(int lower)
        Specified by:
        drop in interface swim.api.data.ListData<V>
      • take

        public void take​(int upper)
        Specified by:
        take in interface swim.api.data.ListData<V>
      • snapshot

        public swim.util.KeyedList<V> snapshot()
        Specified by:
        snapshot in interface swim.api.data.ListData<V>
      • close

        public void close()
        Specified by:
        close in interface swim.api.data.ListData<V>
      • didUpdate

        public void didUpdate​(long index,
                              swim.structure.Value newValue,
                              swim.structure.Value oldValue)
        Specified by:
        didUpdate in interface ListDataContext
      • didInsert

        public void didInsert​(long index,
                              swim.structure.Value newValue)
        Specified by:
        didInsert in interface ListDataContext
      • didRemove

        public void didRemove​(long index,
                              swim.structure.Value oldValue)
        Specified by:
        didRemove in interface ListDataContext