E - is the generic type of the list elements.public class AppendingList<E> extends AbstractList<E>
List interface that gives a read-only view on other lists that appear as if
they were concatenated. | Modifier and Type | Field and Description |
|---|---|
private List<? extends E>[] |
lists
the lists.
|
modCount| Constructor and Description |
|---|
AppendingList(List<? extends E>... lists)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
E |
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, stream@SafeVarargs public AppendingList(List<? extends E>... lists)
lists - is the array of lists to "concatenate" in the order of the array.Copyright © 2001–2016 mmm-Team. All rights reserved.