public static class ShortLists.UnmodifiableRandomAccessList extends ShortLists.UnmodifiableList implements RandomAccess, Serializable
listcollection| Modifier | Constructor and Description |
|---|---|
protected |
UnmodifiableRandomAccessList(ShortList l) |
| 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, addAll, addElements, addElements, compareTo, equals, get, getElements, getShort, hashCode, indexOf, indexOf, iterator, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, removeElements, removeShort, set, set, setElements, setElements, setElements, size, sort, sort, unstableSort, unstableSortadd, add, addAll, addAll, clear, contains, contains, containsAll, containsAll, isEmpty, rem, remove, removeAll, removeAll, retainAll, retainAll, size, toArray, toArray, toArray, toShortArray, toShortArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, clear, containsAll, isEmpty, removeAll, replaceAll, retainAll, size, spliterator, toArray, toArrayaddAll, contains, containsAll, rem, removeAll, removeIf, removeIf, retainAll, toArray, toShortArray, toShortArrayparallelStream, streamforEach, forEachprotected UnmodifiableRandomAccessList(ShortList l)
public ShortList subList(int from, int to)
ShortListfrom, inclusive, to the index to, exclusive.
Note that this specification strengthens the one given in List.subList(int,int).
subList in interface ShortListsubList in interface List<Short>subList in class ShortLists.UnmodifiableListList.subList(int,int)Copyright © 2020. All rights reserved.