public class ImmutableListCopy.ImmutableSubList<E> extends AbstractList<E>
modCount
Modifier and Type | Method and Description |
---|---|
boolean |
addAll(Collection<? extends E> c) |
boolean |
addAll(int index,
Collection<? extends E> c) |
E |
get(int index) |
Iterator<E> |
iterator() |
ListIterator<E> |
listIterator(int index) |
protected void |
removeRange(int fromIndex,
int toIndex) |
int |
size() |
List<E> |
subList(int fromIndex,
int toIndex) |
add, add, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, remove, set
contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
parallelStream, removeIf, stream
public final E get(int index)
public final int size()
size
in interface Collection<E>
size
in interface List<E>
size
in class AbstractCollection<E>
protected final void removeRange(int fromIndex, int toIndex)
removeRange
in class AbstractList<E>
public final boolean addAll(Collection<? extends E> c)
addAll
in interface Collection<E>
addAll
in interface List<E>
addAll
in class AbstractCollection<E>
public final boolean addAll(int index, Collection<? extends E> c)
public final ListIterator<E> listIterator(int index)
listIterator
in interface List<E>
listIterator
in class AbstractList<E>
Copyright © 2021 JBoss by Red Hat. All rights reserved.