T - public class ConcatenatedList<T> extends AbstractList<T>
create(java.util.List) or create(java.util.List[])modCount| Modifier and Type | Method and Description |
|---|---|
static <T> List<? extends T> |
create(List<? extends List<? extends T>> lists)
Creates a List with the given sublists
May or may not be a ConcatenatedList.
|
static <T> List<? extends T> |
create(List<? extends T>... lists)
Creates a List with the given sublists
May or may not be a ConcatenatedList.
|
T |
get(int index) |
T |
set(int index,
T element) |
int |
size() |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringpublic static <T> List<? extends T> create(List<? extends List<? extends T>> lists)
lists - the sublists, in orderpublic static <T> List<? extends T> create(List<? extends T>... lists)
lists - the sublists, in orderpublic T get(int index)
public int size()
size in interface Collection<T>size in interface List<T>size in class AbstractCollection<T>