public static class AbstractReferenceList.ReferenceRandomAccessSubList<K> extends AbstractReferenceList.ReferenceSubList<K> implements java.util.RandomAccess
AbstractReferenceList.ReferenceRandomAccessSubList<K>, AbstractReferenceList.ReferenceSubList<K>
Constructor and Description |
---|
ReferenceRandomAccessSubList(ReferenceList<K> l,
int from,
int to) |
Modifier and Type | Method and Description |
---|---|
ReferenceList<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, 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 ReferenceRandomAccessSubList(ReferenceList<K> l, int from, int to)
public ReferenceList<K> subList(int from, int to)
ReferenceList
from
, inclusive, to the index to
, exclusive.subList
in interface ReferenceList<K>
subList
in interface java.util.List<K>
subList
in class AbstractReferenceList.ReferenceSubList<K>
List.subList(int,int)