protected static class AbstractLinkedList.LinkedSubList extends AbstractList
modCount| Modifier | Constructor and Description |
|---|---|
protected |
AbstractLinkedList.LinkedSubList(AbstractLinkedList parent,
int fromIndex,
int toIndex) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
Object obj) |
boolean |
addAll(Collection coll) |
boolean |
addAll(int index,
Collection coll) |
protected void |
checkModCount() |
void |
clear() |
Object |
get(int index) |
Iterator |
iterator() |
ListIterator |
listIterator(int index) |
protected void |
rangeCheck(int index,
int beyond) |
Object |
remove(int index) |
Object |
set(int index,
Object obj) |
int |
size() |
List |
subList(int fromIndexInclusive,
int toIndexExclusive) |
add, equals, hashCode, indexOf, lastIndexOf, listIterator, removeRangecontains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringprotected AbstractLinkedList.LinkedSubList(AbstractLinkedList parent, int fromIndex, int toIndex)
public int size()
size in interface Collectionsize in interface Listsize in class AbstractCollectionpublic Object get(int index)
get in interface Listget in class AbstractListpublic void add(int index,
Object obj)
add in interface Listadd in class AbstractListpublic Object remove(int index)
remove in interface Listremove in class AbstractListpublic boolean addAll(Collection coll)
addAll in interface CollectionaddAll in interface ListaddAll in class AbstractCollectionpublic boolean addAll(int index,
Collection coll)
addAll in interface ListaddAll in class AbstractListpublic Object set(int index, Object obj)
set in interface Listset in class AbstractListpublic void clear()
clear in interface Collectionclear in interface Listclear in class AbstractListpublic Iterator iterator()
iterator in interface Iterableiterator in interface Collectioniterator in interface Listiterator in class AbstractListpublic ListIterator listIterator(int index)
listIterator in interface ListlistIterator in class AbstractListpublic List subList(int fromIndexInclusive, int toIndexExclusive)
subList in interface ListsubList in class AbstractListprotected void rangeCheck(int index,
int beyond)
protected void checkModCount()
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.