public class ParentTrackingArrayList<T extends Child>
extends java.util.ArrayList<T>
| Constructor and Description |
|---|
ParentTrackingArrayList(java.lang.Object parent,
java.lang.Class<? extends java.util.List<?>> listClass) |
ParentTrackingArrayList(java.lang.Object parent,
java.util.Collection<? extends T> c) |
ParentTrackingArrayList(java.lang.Object parent,
int initialCapacity) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
T element) |
boolean |
add(T o) |
boolean |
addAll(java.util.Collection<? extends T> c) |
boolean |
addAll(int index,
java.util.Collection<? extends T> c) |
void |
clear() |
T |
remove(int index) |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.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, trimToSizepublic ParentTrackingArrayList(java.lang.Object parent,
java.lang.Class<? extends java.util.List<?>> listClass)
public ParentTrackingArrayList(java.lang.Object parent,
java.util.Collection<? extends T> c)
c - public ParentTrackingArrayList(java.lang.Object parent,
int initialCapacity)
initialCapacity - public void add(int index,
T element)
public boolean add(T o)
public boolean addAll(java.util.Collection<? extends T> c)
public boolean addAll(int index,
java.util.Collection<? extends T> c)
public void clear()
public T remove(int index)
public boolean remove(java.lang.Object o)
public boolean removeAll(java.util.Collection<?> c)
Copyright © 2007–2023. All rights reserved.