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
public SkippingListView(List<T> list, int... skips)
list
- the backing listskips
- the indices to skip