public class ParentTrackingArrayList<T extends Child> extends ArrayList<T>
modCount| Constructor and Description |
|---|
ParentTrackingArrayList(Object parent,
Class<? extends List<?>> listClass) |
ParentTrackingArrayList(Object parent,
Collection<? extends T> c) |
ParentTrackingArrayList(Object parent,
int initialCapacity) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
T element) |
boolean |
add(T o) |
boolean |
addAll(Collection<? extends T> c) |
boolean |
addAll(int index,
Collection<? extends T> c) |
void |
clear() |
T |
remove(int index) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
protected void |
removeRange(int fromIndex,
int toIndex) |
T |
set(int index,
T element) |
clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, removeIf, replaceAll, retainAll, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streampublic ParentTrackingArrayList(Object parent, Class<? extends List<?>> listClass)
public ParentTrackingArrayList(Object parent, Collection<? extends T> c)
c - public ParentTrackingArrayList(Object parent, int initialCapacity)
initialCapacity - public void add(int index,
T element)
public boolean add(T o)
public boolean addAll(Collection<? extends T> c)
public boolean addAll(int index,
Collection<? extends T> c)
public void clear()
public T remove(int index)
public boolean remove(Object o)
public boolean removeAll(Collection<?> c)
protected void removeRange(int fromIndex,
int toIndex)
removeRange in class ArrayList<T extends Child>ArrayList.removeRange(int, int)Copyright © 2007-2022. All Rights Reserved.