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