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(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(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)
@Nonnull 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(@Nonnull Collection<? extends E> c)
addAll in interface Collection<E>addAll in interface List<E>public boolean addAll(int index,
@Nonnull
Collection<? extends E> c)
public boolean removeAll(@Nonnull Collection<?> c)
removeAll in interface Collection<E>removeAll in interface List<E>public boolean retainAll(@Nonnull 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>@Nonnull public ListIterator<E> listIterator(int index)
listIterator in interface List<E>public boolean contains(Object o)
contains in interface Collection<E>contains in interface List<E>public boolean containsAll(@Nonnull Collection<?> c)
containsAll in interface Collection<E>containsAll in interface List<E>public boolean remove(Object o)
remove in interface Collection<E>remove in interface List<E>Copyright © 2012-2020 Apache Software Foundation. All Rights Reserved.