public class NamedVector
extends java.util.Vector
Vector,
Serialized Form| Constructor and Description |
|---|
NamedVector(java.lang.String name)
Constructor that provides the name of this extended Vector.
|
NamedVector(java.lang.String name,
java.lang.Object[] elements)
Constructor that provides the name of this extended Vector
and a collection of objects to add to the Vector.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString()
Returns a string representation of this named vector.
|
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, forEach, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, removeRange, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, trimToSizepublic NamedVector(java.lang.String name)
name - The name to give to this vector.public NamedVector(java.lang.String name,
java.lang.Object[] elements)
name - The name to store elements for.elements - The elements to store under the given name.