public static class AbstractObjectBigList.ObjectRandomAccessSubList<K> extends AbstractObjectBigList.ObjectSubList<K> implements java.util.RandomAccess
AbstractObjectBigList.ObjectRandomAccessSubList<K>, AbstractObjectBigList.ObjectSubList<K>
Constructor and Description |
---|
ObjectRandomAccessSubList(ObjectBigList<K> l,
long from,
long to) |
Modifier and Type | Method and Description |
---|---|
ObjectBigList<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, compareTo, 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 ObjectRandomAccessSubList(ObjectBigList<K> l, long from, long to)
public ObjectBigList<K> subList(long from, long to)
ObjectBigList
from
, inclusive, to the index to
, exclusive.subList
in interface BigList<K>
subList
in interface ObjectBigList<K>
subList
in class AbstractObjectBigList.ObjectSubList<K>
from
- the starting element (inclusive).to
- the ending element (exclusive).BigList.subList(long,long)