protected static class AbstractLinkedList.LinkedSubList<E> extends AbstractList<E>
modCount| Modifier | Constructor and Description |
|---|---|
protected |
LinkedSubList(AbstractLinkedList
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index, E obj)
|
boolean |
addAll(Collection
|
boolean |
addAll(int index, Collection
|
protected void |
checkModCount()
|
void |
clear()
|
E |
get(int index)
|
Iterator |
iterator()
|
ListIterator |
listIterator(int index)
|
protected void |
rangeCheck(int index, int beyond)
|
E |
remove(int index)
|
E |
set(int index, E obj)
|
int |
size()
|
List |
subList(int fromIndexInclusive, int toIndexExclusive)
|
add, equals, hashCode, indexOf, lastIndexOf, listIterator, removeRangecontains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcontains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArrayparallelStream, removeIf, streamprotected LinkedSubList(AbstractLinkedList<E> parent, int fromIndex, int toIndex)
public int size()
public E get(int index)
public void add(int index,
E obj)public E remove(int index)
public boolean addAll(Collection<? extends E> coll)
public boolean addAll(int index,
Collection<? extends E> coll) public void clear()
public ListIterator<E> listIterator(int index)
protected void rangeCheck(int index,
int beyond)protected void checkModCount()