protected static class AbstractLinkedList.LinkedSubList<E>
extends java.util.AbstractList<E>
Modifier | Constructor | Description |
---|---|---|
protected |
LinkedSubList(AbstractLinkedList<E> parent,
int fromIndex,
int toIndex) |
Modifier and Type | Method | Description |
---|---|---|
void |
add(int index,
E obj) |
|
boolean |
addAll(int index,
java.util.Collection<? extends E> coll) |
|
boolean |
addAll(java.util.Collection<? extends E> coll) |
|
protected void |
checkModCount() |
|
void |
clear() |
|
E |
get(int index) |
|
java.util.Iterator<E> |
iterator() |
|
java.util.ListIterator<E> |
listIterator(int index) |
|
protected void |
rangeCheck(int index,
int beyond) |
|
E |
remove(int index) |
|
E |
set(int index,
E obj) |
|
int |
size() |
|
java.util.List<E> |
subList(int fromIndexInclusive,
int toIndexExclusive) |
contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
add, equals, hashCode, indexOf, lastIndexOf, listIterator, removeRange
protected LinkedSubList(AbstractLinkedList<E> parent, int fromIndex, int toIndex)
public int size()
size
in class java.util.AbstractCollection<E>
public boolean addAll(java.util.Collection<? extends E> coll)
addAll
in class java.util.AbstractCollection<E>
public boolean addAll(int index, java.util.Collection<? extends E> coll)
addAll
in class java.util.AbstractList<E>
public void clear()
clear
in class java.util.AbstractList<E>
public java.util.Iterator<E> iterator()
iterator
in class java.util.AbstractList<E>
public java.util.ListIterator<E> listIterator(int index)
listIterator
in class java.util.AbstractList<E>
public java.util.List<E> subList(int fromIndexInclusive, int toIndexExclusive)
subList
in class java.util.AbstractList<E>
protected void rangeCheck(int index, int beyond)
protected void checkModCount()
Copyright © 2001-2019 - Apache Software Foundation