public abstract class ListWrapper extends CollectionWrapper implements java.util.List
Constructor and Description |
---|
ListWrapper() |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
java.lang.Object element) |
boolean |
addAll(int index,
java.util.Collection c) |
java.lang.Object |
get(int index) |
java.util.List |
getList() |
int |
indexOf(java.lang.Object o) |
int |
lastIndexOf(java.lang.Object o) |
java.util.ListIterator |
listIterator() |
java.util.ListIterator |
listIterator(int index) |
java.lang.Object |
remove(int index) |
java.lang.Object |
set(int index,
java.lang.Object element) |
java.util.List |
subList(int fromIndex,
int toIndex) |
add, addAll, clear, contains, containsAll, getCollection, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
public java.util.List getList()
public java.lang.Object get(int index)
get
in interface java.util.List
public java.lang.Object remove(int index)
remove
in interface java.util.List
public void add(int index, java.lang.Object element)
add
in interface java.util.List
public int indexOf(java.lang.Object o)
indexOf
in interface java.util.List
public int lastIndexOf(java.lang.Object o)
lastIndexOf
in interface java.util.List
public boolean addAll(int index, java.util.Collection c)
addAll
in interface java.util.List
public java.util.List subList(int fromIndex, int toIndex)
subList
in interface java.util.List
public java.util.ListIterator listIterator()
listIterator
in interface java.util.List
public java.util.ListIterator listIterator(int index)
listIterator
in interface java.util.List
public java.lang.Object set(int index, java.lang.Object element)
set
in interface java.util.List