Package org.infinispan.commons.util
Class ImmutableListCopy.ImmutableSubList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
org.infinispan.commons.util.ImmutableListCopy.ImmutableSubList
- All Implemented Interfaces:
Iterable<E>,Collection<E>,List<E>
- Enclosing class:
- ImmutableListCopy<E>
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanaddAll(int index, Collection<? extends E> c) final booleanaddAll(Collection<? extends E> c) final Eget(int index) iterator()final ListIterator<E>listIterator(int index) protected final voidremoveRange(int fromIndex, int toIndex) final intsize()subList(int fromIndex, int toIndex) Methods inherited from class java.util.AbstractList
add, add, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, remove, setMethods inherited from class java.util.AbstractCollection
contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
Method Details
-
get
-
size
public final int size()- Specified by:
sizein interfaceCollection<E>- Specified by:
sizein interfaceList<E>- Specified by:
sizein classAbstractCollection<E>
-
removeRange
protected final void removeRange(int fromIndex, int toIndex) - Overrides:
removeRangein classAbstractList<E>
-
addAll
- Specified by:
addAllin interfaceCollection<E>- Specified by:
addAllin interfaceList<E>- Overrides:
addAllin classAbstractCollection<E>
-
addAll
-
iterator
-
listIterator
- Specified by:
listIteratorin interfaceList<E>- Overrides:
listIteratorin classAbstractList<E>
-
subList
-