E - Element typeabstract class AbstractImmutableList<E> extends Object implements List<E>
| Constructor and Description |
|---|
AbstractImmutableList() |
| 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) |
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 abstract List<E> |
toList() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, get, hashCode, indexOf, lastIndexOf, replaceAll, size, sort, spliterator, toArray, toArrayparallelStream, removeIf, stream@Nonnull public ListIterator<E> listIterator()
listIterator in interface List<E>public boolean isEmpty()
public boolean add(E t)
public boolean addAll(@Nonnull Collection<? extends E> c)
public boolean addAll(int index,
@Nonnull
Collection<? extends E> c)
public boolean removeAll(@Nonnull Collection<?> c)
public boolean retainAll(@Nonnull Collection<?> c)
public void clear()
@Nonnull public ListIterator<E> listIterator(int index)
listIterator in interface List<E>public boolean contains(Object o)
public boolean containsAll(@Nonnull Collection<?> c)
containsAll in interface Collection<E>containsAll in interface List<E>Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.