private static class Lists.TransformingSequentialList<F,T>
extends java.util.AbstractSequentialList<T>
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
(package private) java.util.List<F> |
fromList |
(package private) Function<? super F,? extends T> |
function |
private static long |
serialVersionUID |
| Constructor and Description |
|---|
TransformingSequentialList(java.util.List<F> fromList,
Function<? super F,? extends T> function) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
The default implementation inherited is based on iteration and removal of each element which
can be overkill.
|
java.util.ListIterator<T> |
listIterator(int index) |
boolean |
removeIf(java.util.function.Predicate<? super T> filter) |
int |
size() |
add, addAll, get, iterator, remove, setadd, equals, hashCode, indexOf, lastIndexOf, listIterator, removeRange, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitfinal java.util.List<F> fromList
private static final long serialVersionUID
public void clear()
public int size()
public java.util.ListIterator<T> listIterator(int index)