java.lang.Object | +--org.apache.commons.collections.collection.AbstractCollectionDecorator | +--org.apache.commons.collections.list.AbstractListDecoratorAll Implemented Interfaces:
AbstractListDecorator(List list) Constructor that wraps (not copies). |
void | add(int index, Object object) |
boolean | addAll(int index, Collection coll) |
Object | get(int index) |
List | getList() Gets the list being decorated. |
int | indexOf(Object object) |
int | lastIndexOf(Object object) |
ListIterator | |
ListIterator | listIterator(int index) |
Object | remove(int index) |
Object | set(int index, Object object) |
List | subList(int fromIndex, int toIndex) |
protected AbstractListDecorator(List list)
- if list is nullpublic void add(int index, Object object)
public boolean addAll(int index, Collection coll)
public Object get(int index)
protected List getList()
public int indexOf(Object object)
public int lastIndexOf(Object object)
public ListIterator listIterator()
public ListIterator listIterator(int index)
public Object remove(int index)
public Object set(int index, Object object)
public List subList(int fromIndex, int toIndex)
List
to provide additional behaviour. Methods are forwarded directly to the decorated list.