Class ObservableList<T>

java.lang.Object
com.google.common.collect.ForwardingObject
com.google.common.collect.ForwardingCollection<E>
com.google.common.collect.ForwardingList<T>
io.jmix.ui.model.impl.ObservableList<T>
All Implemented Interfaces:
Serializable, Iterable<T>, Collection<T>, List<T>

public class ObservableList<T> extends com.google.common.collect.ForwardingList<T> implements Serializable
See Also:
  • Constructor Details

  • Method Details

    • fireCollectionChanged

      protected void fireCollectionChanged(CollectionChangeType type, Collection<? extends T> changes)
    • fireCollectionRefreshed

      protected void fireCollectionRefreshed()
    • doOnAddItem

      protected void doOnAddItem(@Nullable T item)
    • doOnRemoveItem

      protected void doOnRemoveItem(@Nullable T item)
    • delegate

      protected List<T> delegate()
      Specified by:
      delegate in class com.google.common.collect.ForwardingList<T>
    • add

      public void add(int index, T element)
      Specified by:
      add in interface List<T>
      Overrides:
      add in class com.google.common.collect.ForwardingList<T>
    • add

      public boolean add(T element)
      Specified by:
      add in interface Collection<T>
      Specified by:
      add in interface List<T>
      Overrides:
      add in class com.google.common.collect.ForwardingCollection<T>
    • addAll

      public boolean addAll(int index, Collection<? extends T> elements)
      Specified by:
      addAll in interface List<T>
      Overrides:
      addAll in class com.google.common.collect.ForwardingList<T>
    • addAll

      public boolean addAll(Collection<? extends T> collection)
      Specified by:
      addAll in interface Collection<T>
      Specified by:
      addAll in interface List<T>
      Overrides:
      addAll in class com.google.common.collect.ForwardingCollection<T>
    • set

      public T set(int index, T element)
      Specified by:
      set in interface List<T>
      Overrides:
      set in class com.google.common.collect.ForwardingList<T>
    • remove

      public T remove(int index)
      Specified by:
      remove in interface List<T>
      Overrides:
      remove in class com.google.common.collect.ForwardingList<T>
    • remove

      public boolean remove(Object object)
      Specified by:
      remove in interface Collection<T>
      Specified by:
      remove in interface List<T>
      Overrides:
      remove in class com.google.common.collect.ForwardingCollection<T>
    • removeAll

      public boolean removeAll(Collection<?> collection)
      Specified by:
      removeAll in interface Collection<T>
      Specified by:
      removeAll in interface List<T>
      Overrides:
      removeAll in class com.google.common.collect.ForwardingCollection<T>
    • retainAll

      public boolean retainAll(Collection<?> collection)
      Specified by:
      retainAll in interface Collection<T>
      Specified by:
      retainAll in interface List<T>
      Overrides:
      retainAll in class com.google.common.collect.ForwardingCollection<T>
    • clear

      public void clear()
      Specified by:
      clear in interface Collection<T>
      Specified by:
      clear in interface List<T>
      Overrides:
      clear in class com.google.common.collect.ForwardingCollection<T>
    • listIterator

      public ListIterator<T> listIterator()
      Specified by:
      listIterator in interface List<T>
      Overrides:
      listIterator in class com.google.common.collect.ForwardingList<T>
    • listIterator

      public ListIterator<T> listIterator(int index)
      Specified by:
      listIterator in interface List<T>
      Overrides:
      listIterator in class com.google.common.collect.ForwardingList<T>
    • iterator

      public Iterator<T> iterator()
      Specified by:
      iterator in interface Collection<T>
      Specified by:
      iterator in interface Iterable<T>
      Specified by:
      iterator in interface List<T>
      Overrides:
      iterator in class com.google.common.collect.ForwardingCollection<T>
    • sort

      public void sort(Comparator<? super T> c)
      Specified by:
      sort in interface List<T>