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 Summary
Modifier and TypeMethodDescriptionget(int index, boolean resolve) Returns the element at position index of this list and optionally resolves proxies (see CDOElementProxy).default booleanReturns whether all elements in this list are loaded.default booleanisLoadedAt(int index) Returns whether the element atindexis loaded.Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
add, add, addAll, addAll, addFirst, addLast, clear, contains, containsAll, equals, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, set, size, spliterator, subList, toArray, toArrayMethods inherited from interface org.eclipse.net4j.util.collection.MoveableList
move
-
Method Details
-
isLoadedAt
default boolean isLoadedAt(int index) Returns whether the element atindexis 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:
trueif every position in this list is loaded, or if the list is empty- Since:
- 4.29
-
get
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 offalseindicates thatCDORevisionUtil.UNLOADEDmay be returned for unresolved elements. A value oftrueindicates that it should behave identical toList.get(int).
-