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:
- Collection, List
- Enclosing class:
- AbstractLinkedList
- protected static class AbstractLinkedList.LinkedSubList
- extends AbstractList
The sublist implementation for AbstractLinkedList.
AbstractLinkedList.LinkedSubList
protected AbstractLinkedList.LinkedSubList(AbstractLinkedList parent,
int fromIndex,
int toIndex)
size
public int size()
- Overrides:
size
in class AbstractCollection
get
public Object get(int index)
- Overrides:
get
in class AbstractList
add
public void add(int index,
Object obj)
- Overrides:
add
in class AbstractList
remove
public Object remove(int index)
- Overrides:
remove
in class AbstractList
addAll
public boolean addAll(Collection coll)
- Overrides:
addAll
in class AbstractCollection
addAll
public boolean addAll(int index,
Collection coll)
- Overrides:
addAll
in class AbstractList
set
public Object set(int index,
Object obj)
- Overrides:
set
in class AbstractList
clear
public void clear()
- Overrides:
clear
in class AbstractList
iterator
public Iterator iterator()
- Overrides:
iterator
in class AbstractList
listIterator
public ListIterator listIterator(int index)
- Overrides:
listIterator
in class AbstractList
subList
public List subList(int fromIndexInclusive,
int toIndexExclusive)
- Overrides:
subList
in class AbstractList
rangeCheck
protected void rangeCheck(int index,
int beyond)
checkModCount
protected void checkModCount()
Copyright © 2001-2004 Apache Software Foundation. All Rights Reserved.