Class ListModelJavaList.SubList<E extends @Nullable GObject, List extends ListModelJavaList<E>>
java.lang.Object
org.javagi.gio.ListModelJavaList.SubList<E,List>
- All Implemented Interfaces:
Iterable<E>, Collection<E>, List<E>, SequencedCollection<E>, ListModelJavaList<E>
- Direct Known Subclasses:
ListModelJavaListMutable.SubList
- Enclosing interface:
ListModelJavaList<E extends @Nullable GObject>
public static class ListModelJavaList.SubList<E extends @Nullable GObject, List extends ListModelJavaList<E>>
extends Object
implements ListModelJavaList<E>
-
Nested Class Summary
Nested classes/interfaces inherited from interface ListModelJavaList
ListModelJavaList.SubList<E,List> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface List
addFirst, addLast, equals, getFirst, getLast, hashCode, removeFirst, removeLast, replaceAll, reversed, sort, spliteratorMethods inherited from interface 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:
getNItemsin interfaceListModelJavaList<E extends @Nullable GObject>
-
getItem
- Specified by:
getItemin interfaceListModelJavaList<E extends @Nullable GObject>
-