public static class AbstractObjectList.ObjectRandomAccessSubList<K> extends AbstractObjectList.ObjectSubList<K> implements java.util.RandomAccess
AbstractObjectList.ObjectRandomAccessSubList<K>, AbstractObjectList.ObjectSubList<K>
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, spliterator
addAll, addElements, clear, compareTo, contains, equals, forEach, hashCode, indexOf, iterator, lastIndexOf, listIterator, peek, pop, push, size, toArray, toArray, top, toString
containsAll, isEmpty, remove, removeAll, retainAll
addAll, addAll, of, of, of, of, of, setElements, setElements, sort, unstableSort
public ObjectRandomAccessSubList(ObjectList<K> l, int from, int to)
public ObjectList<K> subList(int from, int to)
ObjectList
from
, 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)