public abstract static class WrapperCollections.AbstractWrapperList<E> extends WrapperCollections.AbstractWrapperCollection<E> implements List<E>
m_colDelegate| Modifier | Constructor and Description |
|---|---|
protected |
AbstractWrapperList()
Default constructor.
|
protected |
AbstractWrapperList(List<E> list)
Create an AbstractWrapperList which delegates to the specified List.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
E element) |
boolean |
addAll(int index,
Collection<? extends E> c) |
E |
get(int index) |
protected List<E> |
getDelegate()
Return the List to which all operations should be delegated to.
|
int |
indexOf(Object o) |
int |
lastIndexOf(Object o) |
ListIterator<E> |
listIterator() |
ListIterator<E> |
listIterator(int index) |
E |
remove(int index) |
void |
replaceAll(UnaryOperator<E> operator) |
E |
set(int index,
E element) |
void |
sort(Comparator<? super E> c) |
List<E> |
subList(int fromIndex,
int toIndex) |
add, addAll, clear, contains, containsAll, equals, forEach, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, spliterator, toArray, toArrayparallelStream, removeIf, streamprotected List<E> getDelegate()
getDelegate in class WrapperCollections.AbstractWrapperCollection<E>public boolean addAll(int index,
Collection<? extends E> c)
public int lastIndexOf(Object o)
lastIndexOf in interface List<E>public ListIterator<E> listIterator()
listIterator in interface List<E>public ListIterator<E> listIterator(int index)
listIterator in interface List<E>public void replaceAll(UnaryOperator<E> operator)
replaceAll in interface List<E>public void sort(Comparator<? super E> c)