Package org.javagi.gio
Interface ListModelJavaListMutable<E extends @Nullable GObject>
- All Superinterfaces:
Collection<E>,Iterable<E>,List<E>,ListModelJavaList<E>,SequencedCollection<E>
- All Known Subinterfaces:
ListModelJavaListSpliceable<E>
- All Known Implementing Classes:
AnyFilter,EveryFilter,ListModelJavaListMutable.SubList,ListModelJavaListSpliceable.SubList,ListStore,MultiFilter,MultiFilter.MultiFilter$Impl,MultiSorter,StringList
@NullMarked
public interface ListModelJavaListMutable<E extends @Nullable GObject>
extends ListModelJavaList<E>
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classListModelJavaListMutable.SubList<E extends @Nullable GObject,List extends ListModelJavaListMutable<E>> -
Method Summary
Modifier and TypeMethodDescriptiondefault voidAlways throwsUnsupportedOperationException.default booleanAlways throwsUnsupportedOperationException.voiddefault Eremove(int index) Always throwsUnsupportedOperationException.voidremoveAt(int index) default EAlways throwsUnsupportedOperationException.subList(int fromIndex, int toIndex) Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addFirst, addLast, equals, getFirst, getLast, hashCode, removeFirst, removeLast, replaceAll, reversed, sort, spliteratorMethods inherited from interface org.javagi.gio.ListModelJavaList
addAll, addAll, clear, contains, containsAll, get, getItem, getNItems, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, removeAll, retainAll, size, toArray, toArray
-
Method Details
-
removeAt
void removeAt(int index) -
append
-
add
Always throwsUnsupportedOperationException.- Specified by:
addin interfaceCollection<E extends @Nullable GObject>- Specified by:
addin interfaceList<E extends @Nullable GObject>- Specified by:
addin interfaceListModelJavaList<E extends @Nullable GObject>- API Note:
- This implementation delegates to
append(GObject).
-
set
Always throwsUnsupportedOperationException.- Specified by:
setin interfaceList<E extends @Nullable GObject>- Specified by:
setin interfaceListModelJavaList<E extends @Nullable GObject>- API Note:
- This implementation removes all subsequent elements, appends the new element, and then appends the removed elements, skipping the element at the specified index.
-
add
Always throwsUnsupportedOperationException. -
remove
Always throwsUnsupportedOperationException.- Specified by:
removein interfaceList<E extends @Nullable GObject>- Specified by:
removein interfaceListModelJavaList<E extends @Nullable GObject>- API Note:
- This implementation delegates to
removeAt(int)andListModelJavaList.getItem(int).
-
subList
-