protected static class AbstractLinkedList.LinkedSubList<E> extends AbstractList<E>
modCount| 限定符 | 构造器和说明 |
|---|---|
protected |
LinkedSubList(AbstractLinkedList<E> parent,
int fromIndex,
int toIndex) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
add(int index,
E obj) |
boolean |
addAll(Collection<? extends E> coll) |
boolean |
addAll(int index,
Collection<? extends E> coll) |
protected void |
checkModCount() |
void |
clear() |
E |
get(int index) |
Iterator<E> |
iterator() |
ListIterator<E> |
listIterator(int index) |
protected void |
rangeCheck(int index,
int beyond) |
E |
remove(int index) |
E |
set(int index,
E obj) |
int |
size() |
List<E> |
subList(int fromIndexInclusive,
int toIndexExclusive) |
add, equals, hashCode, indexOf, lastIndexOf, listIterator, removeRangecontains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringcontains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArrayparallelStream, removeIf, streamprotected LinkedSubList(AbstractLinkedList<E> parent, int fromIndex, int toIndex)
public int size()
size 在接口中 Collection<E>size 在接口中 List<E>size 在类中 AbstractCollection<E>public boolean addAll(Collection<? extends E> coll)
addAll 在接口中 Collection<E>addAll 在接口中 List<E>addAll 在类中 AbstractCollection<E>public boolean addAll(int index,
Collection<? extends E> coll)
public void clear()
clear 在接口中 Collection<E>clear 在接口中 List<E>clear 在类中 AbstractList<E>public ListIterator<E> listIterator(int index)
listIterator 在接口中 List<E>listIterator 在类中 AbstractList<E>protected void rangeCheck(int index,
int beyond)
protected void checkModCount()
Copyright © 2022. All rights reserved.