public abstract class TranslatedList<E,F> extends ListWrapper<E>
| Constructor and Description |
|---|
TranslatedList(List<E> newList,
List<F> oldList) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E o) |
void |
add(int index,
E element) |
boolean |
addAll(Collection<? extends E> c) |
boolean |
addAll(int index,
Collection<? extends E> c) |
protected abstract TranslatedList<E,F> |
newInstance(List<E> newList,
List<F> oldList) |
E |
remove(int index) |
boolean |
remove(Object object) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
E |
set(int index,
E element) |
List<E> |
subList(int fromIndex,
int toIndex) |
protected abstract F |
toOldObject(E o) |
clear, contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, size, toArray, toArraypublic boolean add(E o)
add in interface Collection<E>add in interface List<E>add in class ListWrapper<E>public void add(int index,
E element)
add in interface List<E>add in class ListWrapper<E>public boolean addAll(Collection<? extends E> c)
addAll in interface Collection<E>addAll in interface List<E>addAll in class ListWrapper<E>public boolean addAll(int index,
Collection<? extends E> c)
addAll in interface List<E>addAll in class ListWrapper<E>public E remove(int index)
remove in interface List<E>remove in class ListWrapper<E>public boolean remove(Object object)
remove in interface Collection<E>remove in interface List<E>remove in class ListWrapper<E>public boolean removeAll(Collection<?> c)
removeAll in interface Collection<E>removeAll in interface List<E>removeAll in class ListWrapper<E>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<E>retainAll in interface List<E>retainAll in class ListWrapper<E>public E set(int index, E element)
set in interface List<E>set in class ListWrapper<E>public List<E> subList(int fromIndex, int toIndex)
subList in interface List<E>subList in class ListWrapper<E>protected abstract TranslatedList<E,F> newInstance(List<E> newList, List<F> oldList)