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, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
parallelStream, removeIf, stream
public SkippingListView(List<T> list, int... skips)
list
- the backing listskips
- the indices to skip