public static class AbstractObjectList.ObjectRandomAccessSubList<K> extends AbstractObjectList.ObjectSubList<K> implements java.util.RandomAccess
AbstractObjectList.ObjectRandomAccessSubList<K>, AbstractObjectList.ObjectSubList<K>from, l, to| Constructor and Description |
|---|
ObjectRandomAccessSubList(ObjectList<K> l,
int from,
int to) |
| Modifier and Type | Method and Description |
|---|---|
ObjectList<K> |
subList(int from,
int to)
Returns a type-specific view of the portion of this list from the index
from, inclusive, to the index to, exclusive. |
add, add, addAll, addElements, get, getElements, listIterator, remove, removeElements, set, setElements, size, spliteratoraddAll, addElements, clear, compareTo, contains, ensureIndex, ensureRestrictedIndex, equals, forEach, hashCode, indexOf, iterator, lastIndexOf, listIterator, peek, pop, push, size, toArray, toArray, top, toStringcontainsAll, isEmpty, remove, removeAll, retainAllclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, addAll, of, of, of, of, of, setElements, setElements, sort, unstableSortpublic ObjectRandomAccessSubList(ObjectList<K> l, int from, int to)
public ObjectList<K> subList(int from, int to)
ObjectListfrom, inclusive, to the index to, exclusive.subList in interface ObjectList<K>subList in interface java.util.List<K>subList in class AbstractObjectList.ObjectSubList<K>List.subList(int,int)