Serializable, Cloneable, Iterable<E>, Collection<E>, List<E>, RandomAccesspublic abstract class ChangeNotifyingArrayList<E> extends ArrayList<E>
modCount| Constructor | Description |
|---|---|
ChangeNotifyingArrayList(int initialCapacity) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
add(int index,
E element) |
|
boolean |
add(E e) |
|
boolean |
addAll(int index,
Collection<? extends E> c) |
|
boolean |
addAll(Collection<? extends E> c) |
|
void |
clear() |
|
abstract void |
onContentsChanged() |
|
E |
remove(int index) |
|
boolean |
remove(Object o) |
|
boolean |
removeAll(Collection<?> c) |
|
protected void |
removeRange(int fromIndex,
int toIndex) |
|
boolean |
retainAll(Collection<?> c) |
|
E |
set(int index,
E element) |
containsAll, toStringequals, hashCodeclone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, removeIf, replaceAll, size, sort, spliterator, subList, toArray, toArray, trimToSizeparallelStream, streampublic abstract void onContentsChanged()
public boolean add(E e)
public void add(int index,
E element)
public E remove(int index)
public boolean remove(Object o)
public void clear()
public boolean addAll(Collection<? extends E> c)
public boolean addAll(int index,
Collection<? extends E> c)
protected void removeRange(int fromIndex,
int toIndex)
removeRange in class ArrayList<E>public boolean removeAll(Collection<?> c)
public boolean retainAll(Collection<?> c)
Copyright © 2009–2018 Jonathan Hedley. All rights reserved.