class MappingList<S,E> extends AbstractList<E>
List that adapts a given List of elements to a List of elements
of a different type using a given mapping Function.| Modifier and Type | Field and Description |
|---|---|
private List<S> |
list |
private Function<S,E> |
mapper |
modCount| Constructor and Description |
|---|
MappingList(List<S> list,
Function<S,E> mapper)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
E |
get(int index) |
int |
size() |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArrayparallelStream, removeIf, streamCopyright © 2001–2016 mmm-Team. All rights reserved.