T
- The type of element in the listpublic class AcceptingListView<T> extends AbstractList<T>
The AcceptingListView
is the exact opposite
of the SkippingListView
.
modCount
Constructor and Description |
---|
AcceptingListView(List<T> list,
int... indices)
Construct with the underlying list and a set of
indices for the view.
|
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 AcceptingListView(List<T> list, int... indices)
list
- the backing listindices
- the indices