org.apache.commons.collections.list
Class AbstractLinkedList.LinkedSubList
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
org.apache.commons.collections.list.AbstractLinkedList.LinkedSubList
- All Implemented Interfaces:
- java.util.Collection, java.util.List
- Enclosing class:
- AbstractLinkedList
- protected static class AbstractLinkedList.LinkedSubList
- extends java.util.AbstractList
The sublist implementation for AbstractLinkedList.
Fields inherited from class java.util.AbstractList |
modCount |
Method Summary |
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)
|
Methods inherited from class java.util.AbstractList |
add, equals, hashCode, indexOf, lastIndexOf, listIterator, removeRange |
Methods inherited from class java.util.AbstractCollection |
contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray |
AbstractLinkedList.LinkedSubList
protected AbstractLinkedList.LinkedSubList(AbstractLinkedList parent,
int fromIndex,
int toIndex)
size
public int size()
get
public java.lang.Object get(int index)
add
public void add(int index,
java.lang.Object obj)
remove
public java.lang.Object remove(int index)
addAll
public boolean addAll(java.util.Collection coll)
addAll
public boolean addAll(int index,
java.util.Collection coll)
set
public java.lang.Object set(int index,
java.lang.Object obj)
clear
public void clear()
iterator
public java.util.Iterator iterator()
listIterator
public java.util.ListIterator listIterator(int index)
subList
public java.util.List subList(int fromIndexInclusive,
int toIndexExclusive)
rangeCheck
protected void rangeCheck(int index,
int beyond)
checkModCount
protected void checkModCount()
Copyright © 2001-2004 Apache Software Foundation. All Rights Reserved.