Package io.github.jwharm.javagi.gio
Class ListModelJavaList.SubList<E extends GObject,List extends ListModelJavaList<E>>
java.lang.Object
io.github.jwharm.javagi.gio.ListModelJavaList.SubList<E,List>
- All Implemented Interfaces:
ListModelJavaList<E>
,Iterable<E>
,Collection<E>
,List<E>
,SequencedCollection<E>
- Direct Known Subclasses:
ListModelJavaListMutable.SubList
- Enclosing interface:
ListModelJavaList<E extends GObject>
@Internal
public static class ListModelJavaList.SubList<E extends GObject,List extends ListModelJavaList<E>>
extends Object
implements ListModelJavaList<E>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.github.jwharm.javagi.gio.ListModelJavaList
ListModelJavaList.SubList<E extends GObject,
List extends ListModelJavaList<E>> -
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
add, add, addAll, addAll, clear, contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
-
Field Details
-
list
-
fromIndex
protected final int fromIndex -
toIndex
protected int toIndex
-
-
Constructor Details
-
SubList
-
-
Method Details
-
getNItems
public int getNItems()- Specified by:
getNItems
in interfaceListModelJavaList<E extends GObject>
-
getItem
- Specified by:
getItem
in interfaceListModelJavaList<E extends GObject>
-