public class DynamicArrayList<E> extends ArrayList<E>
modCount| Constructor and Description |
|---|
DynamicArrayList()
Create new array list with size of 0.
|
DynamicArrayList(int nSize)
Create new array list with size of X.
|
| Modifier and Type | Method and Description |
|---|---|
E |
set(int nIndex,
E aValue)
override the original set so the underlying array is resized automatic and
the new item is placed at the specified position.
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streampublic DynamicArrayList()
public DynamicArrayList(int nSize)
nSize - [IN]
the initial size.Copyright © 2016 as-development.net. All rights reserved.