public abstract class ListWrapper<T> extends CollectionWrapper<T> implements java.util.List<T>
delegate
Constructor and Description |
---|
ListWrapper(java.util.List<T> delegate)
Create a new wrapper.
|
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
T element) |
boolean |
addAll(int index,
java.util.Collection<? extends T> c) |
T |
get(int index) |
java.util.List<T> |
getList() |
int |
indexOf(java.lang.Object o) |
int |
lastIndexOf(java.lang.Object o) |
java.util.ListIterator<T> |
listIterator() |
java.util.ListIterator<T> |
listIterator(int index) |
T |
remove(int index) |
T |
set(int index,
T element) |
java.util.List<T> |
subList(int fromIndex,
int toIndex) |
add, addAll, clear, contains, containsAll, entryAdded, entryChanged, entryRemoved, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public ListWrapper(java.util.List<T> delegate)
delegate
- The delegate.public java.util.List<T> getList()
public boolean addAll(int index, java.util.Collection<? extends T> c)
addAll
in interface java.util.List<T>
public int indexOf(java.lang.Object o)
indexOf
in interface java.util.List<T>
public int lastIndexOf(java.lang.Object o)
lastIndexOf
in interface java.util.List<T>
public java.util.ListIterator<T> listIterator()
listIterator
in interface java.util.List<T>
public java.util.ListIterator<T> listIterator(int index)
listIterator
in interface java.util.List<T>