private static class Lists.TransformingRandomAccessList<F,T>
extends java.util.AbstractList<T>
implements java.util.RandomAccess, 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 |
---|
TransformingRandomAccessList(java.util.List<F> fromList,
Function<? super F,? extends T> function) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
T |
get(int index) |
boolean |
isEmpty() |
java.util.Iterator<T> |
iterator() |
java.util.ListIterator<T> |
listIterator(int index) |
T |
remove(int index) |
boolean |
removeIf(java.util.function.Predicate<? super T> filter) |
int |
size() |
add, add, addAll, equals, hashCode, indexOf, lastIndexOf, listIterator, removeRange, set, subList
addAll, contains, containsAll, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
final java.util.List<F> fromList
private static final long serialVersionUID
public void clear()
public T get(int index)
public java.util.Iterator<T> iterator()
public java.util.ListIterator<T> listIterator(int index)
public boolean isEmpty()
public boolean removeIf(java.util.function.Predicate<? super T> filter)
removeIf
in interface java.util.Collection<T>
public T remove(int index)