private class ImmutableListCopy.ImmutableSubList<E>
extends java.util.AbstractList<E>
Constructor and Description |
---|
ImmutableListCopy.ImmutableSubList(int fromIndex,
int toIndex) |
Modifier and Type | Method and Description |
---|---|
boolean |
addAll(java.util.Collection<? extends E> c) |
boolean |
addAll(int index,
java.util.Collection<? extends E> c) |
E |
get(int index) |
java.util.Iterator<E> |
iterator() |
java.util.ListIterator<E> |
listIterator(int index) |
protected void |
removeRange(int fromIndex,
int toIndex) |
int |
size() |
java.util.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
ImmutableListCopy.ImmutableSubList(int fromIndex, int toIndex)
public final E get(int index)
public final int size()
protected final void removeRange(int fromIndex, int toIndex)
removeRange
in class java.util.AbstractList<E>
public final boolean addAll(java.util.Collection<? extends E> c)
public final boolean addAll(int index, java.util.Collection<? extends E> c)
public final java.util.Iterator<E> iterator()
public final java.util.ListIterator<E> listIterator(int index)