Interface ListModelJavaList<E extends @Nullable GObject>

Type Parameters:
E - The item type must be a GObject.
All Superinterfaces:
Collection<E>, Iterable<E>, List<E>, SequencedCollection<E>
All Known Subinterfaces:
ListModel<T>, ListModelJavaListMutable<E>, ListModelJavaListSpliceable<E>, SectionModel<T>, SelectionModel<T>
All Known Implementing Classes:
AnyFilter, BookmarkList, CompletionContext, DirectoryList, EnumListModel, EveryFilter, FilterListModel, FlattenListModel, FontFamily, FontFamily.FontFamily$Impl, FontMap, FontMap.FontMap$Impl, FontMap.FontMap$Impl, ListIndexModel, ListModel.ListModel$Impl, ListModelJavaList.SubList, ListModelJavaListMutable.SubList, ListModelJavaListSpliceable.SubList, ListStore, MapListModel, MultiFilter, MultiFilter.MultiFilter$Impl, MultiSelection, MultiSorter, NoSelection, SectionModel.SectionModel$Impl, SelectionFilterModel, SelectionModel.SelectionModel$Impl, ShortcutController, ShortcutsSection, SingleSelection, SliceListModel, SortListModel, StringList, TreeListModel, ViewStackPages

@NullMarked public interface ListModelJavaList<E extends @Nullable GObject> extends List<E>
This interface is implemented by ListModel, so it can be used like a regular Java List.

Because ListModel only defines operations to retrieve items and size, the default implementations of the List mutator methods throw UnsupportedOperationException. ListModel implementations that support mutation must override the following methods:

It is recommended to also override other operations such as clear() with a more efficient implementation.