T - item typepublic class CompositeList<T> extends AbstractList<T>
| Modifier and Type | Field and Description |
|---|---|
private List<? extends T> |
a |
private List<? extends T> |
b |
modCount| Constructor and Description |
|---|
CompositeList(List<? extends T> a,
List<? extends T> b)
Constructs a new
CompositeList from two lists. |
| 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 CompositeList(List<? extends T> a, List<? extends T> b)
CompositeList from two lists.a - First listb - Second list