public static class AbstractIntList.IntRandomAccessSubList extends AbstractIntList.IntSubList implements java.util.RandomAccess
AbstractIntList.IntRandomAccessSubList, AbstractIntList.IntSubList
Constructor and Description |
---|
IntRandomAccessSubList(IntList l,
int from,
int to) |
Modifier and Type | Method and Description |
---|---|
IntList |
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, getInt, listIterator, rem, removeElements, removeInt, set, setElements, size, spliterator
addAll, addAll, addElements, clear, compareTo, contains, equals, forEach, hashCode, indexOf, iterator, lastIndexOf, listIterator, peekInt, popInt, push, replaceAll, size, toArray, toIntArray, topInt, toString
add, contains, containsAll, containsAll, forEach, remove, removeAll, removeAll, removeIf, retainAll, retainAll, toIntArray
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, intIterator, intParallelStream, intSpliterator, intStream, parallelStream, removeAll, removeIf, removeIf, removeIf, retainAll, stream, toIntArray
forEach, forEach
public IntRandomAccessSubList(IntList l, int from, int to)
public IntList subList(int from, int to)
IntList
from
, inclusive, to the index to
, exclusive.subList
in interface IntList
subList
in interface java.util.List<java.lang.Integer>
subList
in class AbstractIntList.IntSubList
List.subList(int,int)