public static class AbstractShortList.ShortRandomAccessSubList extends AbstractShortList.ShortSubList implements java.util.RandomAccess
AbstractShortList.ShortRandomAccessSubList, AbstractShortList.ShortSubList
Constructor and Description |
---|
ShortRandomAccessSubList(ShortList l,
int from,
int to) |
Modifier and Type | Method and Description |
---|---|
ShortList |
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, getShort, listIterator, rem, removeElements, removeShort, set, setElements, size, spliterator
addAll, addAll, addElements, clear, compareTo, contains, equals, forEach, hashCode, indexOf, iterator, lastIndexOf, listIterator, peekShort, popShort, push, size, toArray, topShort, toShortArray, toString
add, contains, containsAll, containsAll, remove, removeAll, removeAll, retainAll, retainAll, toShortArray
add, add, addAll, contains, get, indexOf, lastIndexOf, of, of, of, of, of, remove, remove, replaceAll, 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, toShortArray
forEach, forEach
peek, pop, push, top
public ShortRandomAccessSubList(ShortList l, int from, int to)
public ShortList subList(int from, int to)
ShortList
from
, inclusive, to the index to
, exclusive.subList
in interface ShortList
subList
in interface java.util.List<java.lang.Short>
subList
in class AbstractShortList.ShortSubList
List.subList(int,int)