Interface CDOList

All Superinterfaces:
Collection<Object>, EList<Object>, Iterable<Object>, List<Object>, org.eclipse.net4j.util.collection.MoveableList<Object>, SequencedCollection<Object>
All Known Subinterfaces:
InternalCDOList, InternalCDOList.ConfigurableEquality

public interface CDOList extends org.eclipse.net4j.util.collection.MoveableList<Object>, EList<Object>
A movable EList.
Since:
2.0
Author:
Simon McDuff
No Implement
This interface is not intended to be implemented by clients.
No Extend
This interface is not intended to be extended by clients.
  • Method Details

    • isLoadedAt

      default boolean isLoadedAt(int index)
      Returns whether the element at index is loaded.
      Since:
      4.29
    • isFullyLoaded

      default boolean isFullyLoaded()
      Returns whether all elements in this list are loaded.

      An empty list is considered fully loaded. This is an observation-only query and does not load any elements. Implementations with unloaded-state bookkeeping should override this method to provide a constant-time result.

      Returns:
      true if every position in this list is loaded, or if the list is empty
      Since:
      4.29
    • get

      Object get(int index, boolean resolve)
      Returns the element at position index of this list and optionally resolves proxies (see CDOElementProxy).

      Parameters:
      index - The position of the element to return from this list.
      resolve - A value of false indicates that CDORevisionUtil.UNLOADED may be returned for unresolved elements. A value of true indicates that it should behave identical to List.get(int).