public static class AbstractLongList.LongRandomAccessSubList extends AbstractLongList.LongSubList implements java.util.RandomAccess
AbstractLongList.LongRandomAccessSubList, AbstractLongList.LongSubList
Constructor and Description |
---|
LongRandomAccessSubList(LongList l,
int from,
int to) |
Modifier and Type | Method and Description |
---|---|
LongList |
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, addAll, addAll, addElements, getElements, getLong, listIterator, rem, removeElements, removeLong, set, setElements, size, spliterator
addAll, addAll, addElements, clear, compareTo, contains, equals, forEach, hashCode, indexOf, iterator, lastIndexOf, listIterator, peekLong, popLong, push, replaceAll, size, toArray, toLongArray, topLong, toString
add, contains, containsAll, containsAll, forEach, remove, removeAll, removeAll, removeIf, retainAll, retainAll, toLongArray
add, add, addAll, contains, get, indexOf, lastIndexOf, of, of, of, of, of, remove, remove, replaceAll, replaceAll, set, setElements, setElements, sort, sort, unstableSort, unstableSort
containsAll, isEmpty, removeAll, retainAll, toArray, toArray
containsAll, longIterator, longParallelStream, longSpliterator, longStream, parallelStream, removeAll, removeIf, removeIf, removeIf, retainAll, stream, toLongArray
forEach, forEach
public LongRandomAccessSubList(LongList l, int from, int to)
public LongList subList(int from, int to)
LongList
from
, inclusive, to the index to
, exclusive.subList
in interface LongList
subList
in interface java.util.List<java.lang.Long>
subList
in class AbstractLongList.LongSubList
List.subList(int,int)