public static class IntLists.UnmodifiableRandomAccessList extends IntLists.UnmodifiableList implements RandomAccess, Serializable
listcollection| Modifier | Constructor and Description |
|---|---|
protected |
UnmodifiableRandomAccessList(IntList l) |
| 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, addAll, addElements, addElements, compareTo, equals, get, getElements, getInt, hashCode, indexOf, indexOf, iterator, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, removeElements, removeInt, 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, toIntArray, toIntArray, 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, toIntArray, toIntArrayparallelStream, streamforEach, forEachprotected UnmodifiableRandomAccessList(IntList l)
public IntList subList(int from, int to)
IntListfrom, inclusive, to the index to, exclusive.
Note that this specification strengthens the one given in List.subList(int,int).
subList in interface IntListsubList in interface List<Integer>subList in class IntLists.UnmodifiableListList.subList(int,int)Copyright © 2020. All rights reserved.