Package io.github.jwharm.javagi.gio
Interface ListModelJavaListMutable<E extends 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.MultiFilterImpl
,MultiSorter
,StringList
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
ListModelJavaListMutable.SubList<E extends GObject,
List extends ListModelJavaListMutable<E>> -
Method Summary
Modifier and TypeMethodDescriptiondefault void
Always throwsUnsupportedOperationException
.default boolean
Always throwsUnsupportedOperationException
.void
default E
remove
(int index) Always throwsUnsupportedOperationException
.void
removeAt
(int index) default E
Always throwsUnsupportedOperationException
.subList
(int fromIndex, int toIndex) Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
addFirst, addLast, equals, getFirst, getLast, hashCode, removeFirst, removeLast, replaceAll, reversed, sort, spliterator
Methods inherited from interface io.github.jwharm.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:
add
in interfaceCollection<E extends GObject>
- Specified by:
add
in interfaceList<E extends GObject>
- Specified by:
add
in interfaceListModelJavaList<E extends GObject>
- API Note:
- This implementation delegates to
append(GObject)
.
-
set
Always throwsUnsupportedOperationException
. -
add
Always throwsUnsupportedOperationException
. -
remove
Always throwsUnsupportedOperationException
.- Specified by:
remove
in interfaceList<E extends GObject>
- Specified by:
remove
in interfaceListModelJavaList<E extends GObject>
- API Note:
- This implementation delegates to
removeAt(int)
andListModelJavaList.getItem(int)
.
-
subList
-