Class AbstractObservableList<E>

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
org.eclipse.core.databinding.observable.list.AbstractObservableList<E>
Type Parameters:
E - the list element type
All Implemented Interfaces:
Iterable<E>, Collection<E>, List<E>, IObservable, IObservableCollection<E>, IObservableList<E>
Direct Known Subclasses:
ComputedList, MultiList

public abstract class AbstractObservableList<E> extends AbstractList<E> implements IObservableList<E>
Subclasses should override at least get(int index) and size().

This class is thread safe. All state accessing methods must be invoked from the current realm. Methods for adding and removing listeners may be invoked from any thread.

Since:
1.0
Implementation Note:
If methods are added to the interface which this class implements then implementations of those methods must be added to this class.
  • Constructor Details

    • AbstractObservableList

      public AbstractObservableList(Realm realm)
      Parameters:
      realm - the realm; not null
    • AbstractObservableList

      public AbstractObservableList()
  • Method Details