Class AbstractLinkedListForJava21.LinkedSubList<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
org.apache.commons.collections4.list.AbstractLinkedListForJava21.LinkedSubList<E>
- Type Parameters:
E
- the type of elements in this list.
- All Implemented Interfaces:
Iterable<E>
,Collection<E>
,List<E>
- Enclosing class:
- AbstractLinkedListForJava21<E>
The sublist implementation for AbstractLinkedListForJava21.
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
ModifierConstructorDescriptionprotected
LinkedSubList
(AbstractLinkedListForJava21<E> parent, int fromIndex, int toIndex) -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
addAll
(int index, Collection<? extends E> coll) boolean
addAll
(Collection<? extends E> coll) protected void
void
clear()
get
(int index) iterator()
listIterator
(int index) protected void
rangeCheck
(int index, int beyond) remove
(int index) int
size()
subList
(int fromIndexInclusive, int toIndexExclusive) Methods inherited from class java.util.AbstractList
add, equals, hashCode, indexOf, lastIndexOf, listIterator, removeRange
Methods inherited from class java.util.AbstractCollection
contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream
Methods inherited from interface java.util.List
contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
Constructor Details
-
LinkedSubList
-
-
Method Details
-
add
-
addAll
- Specified by:
addAll
in interfaceCollection<E>
- Specified by:
addAll
in interfaceList<E>
- Overrides:
addAll
in classAbstractCollection<E>
-
addAll
-
checkModCount
-
clear
- Specified by:
clear
in interfaceCollection<E>
- Specified by:
clear
in interfaceList<E>
- Overrides:
clear
in classAbstractList<E>
-
get
-
iterator
-
listIterator
- Specified by:
listIterator
in interfaceList<E>
- Overrides:
listIterator
in classAbstractList<E>
-
rangeCheck
-
remove
-
set
-
size
- Specified by:
size
in interfaceCollection<E>
- Specified by:
size
in interfaceList<E>
- Specified by:
size
in classAbstractCollection<E>
-
subList
-