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:
java.lang.Iterable<E>
,java.util.Collection<E>
,java.util.List<E>
- Enclosing class:
- ImmutableListCopy<E>
public class ImmutableListCopy.ImmutableSubList<E> extends java.util.AbstractList<E>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addAll(int index, java.util.Collection<? extends E> c)
boolean
addAll(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)
-
Methods inherited from class java.util.AbstractList
add, add, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, remove, set
-
Methods inherited from class java.util.AbstractCollection
contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
-
-
-
-
Method Detail
-
get
public final E get(int index)
-
size
public final int size()
-
removeRange
protected final void removeRange(int fromIndex, int toIndex)
- Overrides:
removeRange
in classjava.util.AbstractList<E>
-
addAll
public final boolean addAll(java.util.Collection<? extends E> c)
-
addAll
public final boolean addAll(int index, java.util.Collection<? extends E> c)
-
iterator
public final java.util.Iterator<E> iterator()
-
listIterator
public final java.util.ListIterator<E> listIterator(int index)
-
-