T - The element type of the list.public class DynamicList<T> extends AbstractList<T>
List.| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_BUCKET_SIZE |
modCount| Constructor and Description |
|---|
DynamicList() |
DynamicList(Collection<T> collection) |
DynamicList(Collection<T> collection,
int bucketSize) |
DynamicList(int bucketSize) |
| Modifier and Type | Method and Description |
|---|---|
T |
get(int index) |
T |
set(int index,
T element) |
int |
size() |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArrayparallelStream, removeIf, streampublic static final int DEFAULT_BUCKET_SIZE
public DynamicList()
public DynamicList(int bucketSize)
public DynamicList(Collection<T> collection)
public DynamicList(Collection<T> collection, int bucketSize)
public T get(int index)
public int size()
size in interface Collection<T>size in interface List<T>size in class AbstractCollection<T>Copyright © 2011–2025 pepsoft.org. All rights reserved.