public abstract class ChangeNotifyingArrayList<E>
extends java.util.ArrayList<E>
Constructor and Description |
---|
ChangeNotifyingArrayList(int initialCapacity) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(E e) |
void |
add(int index,
E element) |
boolean |
addAll(java.util.Collection<? extends E> c) |
boolean |
addAll(int index,
java.util.Collection<? extends E> c) |
void |
clear() |
abstract void |
onContentsChanged() |
E |
remove(int index) |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> c) |
protected void |
removeRange(int fromIndex,
int toIndex) |
boolean |
retainAll(java.util.Collection<?> c) |
E |
set(int index,
E element) |
clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, removeIf, replaceAll, size, sort, spliterator, subList, toArray, toArray, trimToSize
public abstract void onContentsChanged()
public boolean add(E e)
public void add(int index, E element)
public E remove(int index)
public boolean remove(java.lang.Object o)
public void clear()
public boolean addAll(java.util.Collection<? extends E> c)
public boolean addAll(int index, java.util.Collection<? extends E> c)
protected void removeRange(int fromIndex, int toIndex)
removeRange
in class java.util.ArrayList<E>
public boolean removeAll(java.util.Collection<?> c)