public class FilteredIterableList<T> extends AbstractSequentialList<T>
Modifier and Type | Class and Description |
---|---|
static interface |
FilteredIterableList.Filter<T>
Filter to determine which elements should be shown.
|
modCount
Constructor and Description |
---|
FilteredIterableList(List<? extends T> list,
FilteredIterableList.Filter filter) |
Modifier and Type | Method and Description |
---|---|
T |
get(int index) |
int |
hashCode() |
boolean |
isEmpty() |
ListIterator<T> |
listIterator(int index) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] contents) |
add, clear, equals, indexOf, lastIndexOf, listIterator, removeRange, subList
addAll, contains, containsAll, remove, removeAll, retainAll, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, contains, containsAll, remove, removeAll, replaceAll, retainAll, sort, spliterator
parallelStream, removeIf, stream
public FilteredIterableList(List<? extends T> list, FilteredIterableList.Filter filter)
public T get(int index)
public ListIterator<T> listIterator(int index)
listIterator
in interface List<T>
listIterator
in class AbstractSequentialList<T>
public boolean isEmpty()
isEmpty
in interface Collection<T>
isEmpty
in interface List<T>
isEmpty
in class AbstractCollection<T>
public int size()
size
in interface Collection<T>
size
in interface List<T>
size
in class AbstractCollection<T>
public Object[] toArray()
toArray
in interface Collection<T>
toArray
in interface List<T>
toArray
in class AbstractCollection<T>
public <T> T[] toArray(T[] contents)
toArray
in interface Collection<T>
toArray
in interface List<T>
toArray
in class AbstractCollection<T>
public int hashCode()
hashCode
in interface Collection<T>
hashCode
in interface List<T>
hashCode
in class AbstractList<T>
Copyright © 2020 Hitachi Vantara. All rights reserved.