T - element typepublic abstract static class FlatLists.AbstractFlatList<T> extends Object implements RandomAccess
| Constructor and Description |
|---|
AbstractFlatList() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E t) |
void |
add(int index,
E element) |
boolean |
addAll(Collection<? extends E> c) |
boolean |
addAll(int index,
Collection<? extends E> c) |
abstract List<T> |
append(T e)
Returns a list that consists of a this list's elements plus a given
element.
|
void |
clear() |
boolean |
contains(@Nullable Object o) |
boolean |
containsAll(Collection<?> c) |
boolean |
isEmpty() |
Iterator<E> |
iterator() |
ListIterator<E> |
listIterator() |
ListIterator<E> |
listIterator(int index) |
E |
remove(int index) |
boolean |
remove(@Nullable Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
E |
set(int index,
E element) |
List<E> |
subList(int fromIndex,
int toIndex) |
protected List<T> |
toList() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, get, hashCode, indexOf, lastIndexOf, replaceAll, size, sort, spliterator, toArray, toArrayparallelStream, removeIf, streampublic abstract List<T> append(T e)
public Iterator<E> iterator()
public ListIterator<E> listIterator()
listIterator in interface List<E>public boolean isEmpty()
isEmpty in interface Collection<E>isEmpty in interface List<E>public boolean add(E t)
add in interface Collection<E>add in interface List<E>public boolean addAll(Collection<? extends E> c)
addAll in interface Collection<E>addAll in interface List<E>public boolean addAll(int index,
Collection<? extends E> c)
public boolean removeAll(Collection<?> c)
removeAll in interface Collection<E>removeAll in interface List<E>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<E>retainAll in interface List<E>public void clear()
clear in interface Collection<E>clear in interface List<E>public ListIterator<E> listIterator(int index)
listIterator in interface List<E>public List<E> subList(int fromIndex, int toIndex)
public boolean contains(@Nullable Object o)
contains in interface Collection<E>contains in interface List<E>public boolean containsAll(Collection<?> c)
containsAll in interface Collection<E>containsAll in interface List<E>public boolean remove(@Nullable Object o)
remove in interface Collection<E>remove in interface List<E>Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.