T - the concrete type of the elements in this list.public class SubList<T> extends AbstractList<T>
modCount| Constructor and Description |
|---|
SubList(int start,
int end,
List<T> list)
Creates a view on a sub list of an other list.
|
| 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, toStringpublic SubList(int start,
int end,
List<T> list)
start - the first index in the backing list that is included in this sub list.end - the last index in the backing list that is not included in this sub list. This must be a valid index
greater 0 or List.size() + 1.list - the backing listCopyright © 2014 Saxonia Systems AG. All Rights Reserved.