T - The type of element in the listpublic class SkippingListView<T> extends AbstractList<T>
modCount| Constructor and Description |
|---|
SkippingListView(List<T> list,
int... skips)
Construct with the underlying list and a set of
indices to skip.
|
| Modifier and Type | Method and Description |
|---|---|
T |
get(int index) |
int |
size() |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArrayparallelStream, removeIf, streampublic SkippingListView(List<T> list, int... skips)
list - the backing listskips - the indices to skip