public class FilteredList<T>
extends java.util.AbstractSequentialList<T>
List that provides a filtered view of another List. All operations are supported except variations
of List.add(E).| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
T element) |
boolean |
add(T t) |
boolean |
addAll(java.util.Collection<? extends T> c) |
boolean |
addAll(int index,
java.util.Collection<? extends T> c) |
static <T> java.util.List<T> |
from(java.util.List<T> list,
java.util.function.Predicate<? super T> predicate) |
java.util.ListIterator<T> |
listIterator(int index) |
boolean |
remove(java.lang.Object o) |
int |
size() |
clear, equals, hashCode, indexOf, lastIndexOf, listIterator, removeRange, subListcontains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static <T> java.util.List<T> from(java.util.List<T> list,
java.util.function.Predicate<? super T> predicate)
public java.util.ListIterator<T> listIterator(int index)
public int size()
public boolean add(T t)
public boolean addAll(java.util.Collection<? extends T> c)
public void add(int index,
T element)
public boolean addAll(int index,
java.util.Collection<? extends T> c)