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, 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 AcceptingListView(List<T> list, int... indices)
list - the backing listindices - the indices