public class FastVector<E> extends ArrayList<E>
modCount
Constructor and Description |
---|
FastVector() |
Modifier and Type | Method and Description |
---|---|
void |
addElement(E element)
Adds an element to this vector.
|
E |
elementAt(int index)
Returns the element at the given position.
|
void |
removeElementAt(int index)
Deletes an element from this vector.
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
parallelStream, stream
public final void addElement(E element)
element
- the element to addpublic final E elementAt(int index)
index
- the element's indexpublic final void removeElementAt(int index)
index
- the index of the element to be deletedCopyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.