Class AbstractListDecorator
java.lang.Object
org.apache.commons.collections.collection.AbstractCollectionDecorator
org.apache.commons.collections.list.AbstractListDecorator
- All Implemented Interfaces:
Iterable,Collection,List,SequencedCollection
- Direct Known Subclasses:
AbstractSerializableListDecorator
@Deprecated(since="2021-04-30")
public abstract class AbstractListDecorator
extends AbstractCollectionDecorator
implements List
Deprecated.
Apache Commons Collections version 3.x is being deprecated from AEMaaCS. The upgraded version 4.4 of Commons Collections is already included as replacement. Customers are advised to upgrade to this version of the library. Please note: the package name was changed to org.apache.commons.collections4. Further note that there are AEM APIs currently exposing the old collections classes; these will be updated in upcoming releases.
Decorates another
List to provide additional behaviour.
Methods are forwarded directly to the decorated list.
- Since:
- Commons Collections 3.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.booleanaddAll(int index, Collection coll) Deprecated.get(int index) Deprecated.intDeprecated.intlastIndexOf(Object object) Deprecated.Deprecated.listIterator(int index) Deprecated.remove(int index) Deprecated.Deprecated.subList(int fromIndex, int toIndex) Deprecated.Methods inherited from class org.apache.commons.collections.collection.AbstractCollectionDecorator
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toStringMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Method Details
-
add
Deprecated. -
addAll
Deprecated. -
get
Deprecated. -
indexOf
Deprecated. -
lastIndexOf
Deprecated.- Specified by:
lastIndexOfin interfaceList
-
listIterator
Deprecated.- Specified by:
listIteratorin interfaceList
-
listIterator
Deprecated.- Specified by:
listIteratorin interfaceList
-
remove
Deprecated. -
set
Deprecated. -
subList
Deprecated.
-