public static class AbstractReferenceBigList.ReferenceRandomAccessSubList<K> extends AbstractReferenceBigList.ReferenceSubList<K> implements java.util.RandomAccess
AbstractReferenceBigList.ReferenceRandomAccessSubList<K>, AbstractReferenceBigList.ReferenceSubList<K>
Constructor and Description |
---|
ReferenceRandomAccessSubList(ReferenceBigList<K> l,
long from,
long to) |
Modifier and Type | Method and Description |
---|---|
ReferenceBigList<K> |
subList(long from,
long to)
Returns a type-specific view of the portion of this type-specific big list from the index
from , inclusive, to the index to , exclusive. |
add, add, addAll, addElements, get, getElements, listIterator, remove, removeElements, set, size64, spliterator
addAll, addElements, clear, contains, equals, forEach, hashCode, indexOf, iterator, lastIndexOf, listIterator, peek, pop, push, setElements, size, size, top, toString
containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
addAll, addAll, addAll, addAll, setElements, setElements
public ReferenceRandomAccessSubList(ReferenceBigList<K> l, long from, long to)
public ReferenceBigList<K> subList(long from, long to)
ReferenceBigList
from
, inclusive, to the index to
, exclusive.subList
in interface BigList<K>
subList
in interface ReferenceBigList<K>
subList
in class AbstractReferenceBigList.ReferenceSubList<K>
from
- the starting element (inclusive).to
- the ending element (exclusive).BigList.subList(long,long)