Class AbstractListDecorator
- java.lang.Object
-
- org.apache.commons.collections.collection.AbstractCollectionDecorator
-
- org.apache.commons.collections.list.AbstractListDecorator
-
- All Implemented Interfaces:
Iterable,Collection,List
- Direct Known Subclasses:
AbstractSerializableListDecorator
@Deprecated(since="2021-04-30") public abstract class AbstractListDecorator extends AbstractCollectionDecorator implements List
Deprecated.Commons Collections 3 is in maintenance mode. Commons Collections 4 should be used instead.Decorates anotherListto provide additional behaviour.Methods are forwarded directly to the decorated list.
- Since:
- Commons Collections 3.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidadd(int index, Object object)Deprecated.booleanaddAll(int index, Collection coll)Deprecated.Objectget(int index)Deprecated.intindexOf(Object object)Deprecated.intlastIndexOf(Object object)Deprecated.ListIteratorlistIterator()Deprecated.ListIteratorlistIterator(int index)Deprecated.Objectremove(int index)Deprecated.Objectset(int index, Object object)Deprecated.ListsubList(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, toString
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
-
-
-
Method Detail
-
addAll
public boolean addAll(int index, Collection coll)Deprecated.
-
lastIndexOf
public int lastIndexOf(Object object)
Deprecated.- Specified by:
lastIndexOfin interfaceList
-
listIterator
public ListIterator listIterator()
Deprecated.- Specified by:
listIteratorin interfaceList
-
listIterator
public ListIterator listIterator(int index)
Deprecated.- Specified by:
listIteratorin interfaceList
-
-