public static class IntLists.SynchronizedRandomAccessList extends IntLists.SynchronizedList implements RandomAccess, Serializable
listcollection, sync| Modifier | Constructor and Description |
|---|---|
protected |
SynchronizedRandomAccessList(IntList l) |
protected |
SynchronizedRandomAccessList(IntList l,
Object sync) |
| 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, removeIf, 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 SynchronizedRandomAccessList(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.SynchronizedListList.subList(int,int)Copyright © 2020. All rights reserved.