Class ChangeNotifyingArrayList<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<E>
com.itextpdf.styledxmlparser.jsoup.helper.ChangeNotifyingArrayList<E>
- All Implemented Interfaces:
Serializable, Cloneable, Iterable<E>, Collection<E>, List<E>, RandomAccess, SequencedCollection<E>
- Direct Known Subclasses:
Element.NodeList
Implementation of ArrayList that watches out for changes to the contents.
- See Also:
-
Field Summary
Fields inherited from class AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, Collection<? extends E> c) booleanaddAll(Collection<? extends E> c) voidclear()abstract voidremove(int index) booleanbooleanremoveAll(Collection<?> c) protected voidremoveRange(int fromIndex, int toIndex) booleanretainAll(Collection<?> c) Methods inherited from class ArrayList
addFirst, addLast, clone, contains, ensureCapacity, equals, forEach, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, removeFirst, removeIf, removeLast, replaceAll, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class AbstractCollection
containsAll, toStringMethods inherited from interface Collection
parallelStream, stream, toArrayMethods inherited from interface List
containsAll, reversed
-
Constructor Details
-
ChangeNotifyingArrayList
public ChangeNotifyingArrayList(int initialCapacity)
-
-
Method Details
-
onContentsChanged
public abstract void onContentsChanged() -
set
-
add
-
add
-
remove
-
remove
-
clear
-
addAll
-
addAll
-
removeRange
protected void removeRange(int fromIndex, int toIndex) - Overrides:
removeRangein classArrayList<E>
-
removeAll
-
retainAll
-