Package org.infinispan.commons.util
Class ImmutableListCopy.ImmutableSubList<E>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- org.infinispan.commons.util.ImmutableListCopy.ImmutableSubList<E>
-
- All Implemented Interfaces:
Iterable<E>
,Collection<E>
,List<E>
- Enclosing class:
- ImmutableListCopy<E>
public class ImmutableListCopy.ImmutableSubList<E> extends AbstractList<E>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addAll(int index, Collection<? extends E> c)
boolean
addAll(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)
-
-
-
Method Detail
-
get
public final E get(int index)
-
size
public final int size()
-
removeRange
protected final void removeRange(int fromIndex, int toIndex)
-
addAll
public final boolean addAll(Collection<? extends E> c)
-
addAll
public final boolean addAll(int index, Collection<? extends E> c)
-
listIterator
public final ListIterator<E> listIterator(int index)
-
-