public class DynamicArray<T>
extends java.lang.Object
Constructor and Description |
---|
DynamicArray(T[] init)
Creates an empty dynamic sized array with the given initial capacity.
|
Modifier and Type | Method and Description |
---|---|
void |
add(T elem) |
void |
remove(int idx) |