protected static class AbstractLinkedList.LinkedSubList
extends java.util.AbstractList
| Modifier | Constructor and Description |
|---|---|
protected |
LinkedSubList(AbstractLinkedList parent,
int fromIndex,
int toIndex) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
java.lang.Object obj) |
boolean |
addAll(java.util.Collection coll) |
boolean |
addAll(int index,
java.util.Collection coll) |
protected void |
checkModCount() |
void |
clear() |
java.lang.Object |
get(int index) |
java.util.Iterator |
iterator() |
java.util.ListIterator |
listIterator(int index) |
protected void |
rangeCheck(int index,
int beyond) |
java.lang.Object |
remove(int index) |
java.lang.Object |
set(int index,
java.lang.Object obj) |
int |
size() |
java.util.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, waitprotected LinkedSubList(AbstractLinkedList parent, int fromIndex, int toIndex)
public int size()
size in interface java.util.Collectionsize in interface java.util.Listsize in class java.util.AbstractCollectionpublic java.lang.Object get(int index)
get in interface java.util.Listget in class java.util.AbstractListpublic void add(int index,
java.lang.Object obj)
add in interface java.util.Listadd in class java.util.AbstractListpublic java.lang.Object remove(int index)
remove in interface java.util.Listremove in class java.util.AbstractListpublic boolean addAll(java.util.Collection coll)
addAll in interface java.util.CollectionaddAll in interface java.util.ListaddAll in class java.util.AbstractCollectionpublic boolean addAll(int index,
java.util.Collection coll)
addAll in interface java.util.ListaddAll in class java.util.AbstractListpublic java.lang.Object set(int index,
java.lang.Object obj)
set in interface java.util.Listset in class java.util.AbstractListpublic void clear()
clear in interface java.util.Collectionclear in interface java.util.Listclear in class java.util.AbstractListpublic java.util.Iterator iterator()
iterator in interface java.lang.Iterableiterator in interface java.util.Collectioniterator in interface java.util.Listiterator in class java.util.AbstractListpublic java.util.ListIterator listIterator(int index)
listIterator in interface java.util.ListlistIterator in class java.util.AbstractListpublic java.util.List subList(int fromIndexInclusive,
int toIndexExclusive)
subList in interface java.util.ListsubList in class java.util.AbstractListprotected void rangeCheck(int index,
int beyond)
protected void checkModCount()
Copyright © 2001-2025 Apache Software Foundation. All Rights Reserved.