com.ibm.dse.base
Class Vector

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.Vector
                    |
                    +--com.ibm.dse.base.Vector

public class Vector
extends java.util.Vector

This extension provides functions useful for externalization.

See Also:
Serialized Form

Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
Vector()
          This is the default constructor used to create a Vector object.
Vector(int initialCapacity)
          This constructor creates a Vector object with a specified initial capacity.
Vector(int initialCapacity, int capacityIncrement)
          This constructor creates a Vector object with a specified initial capacity and a specified amount by which the capacity increases.
Vector(java.lang.Object[] array)
          This constructor creates a Vector object populated with the contents of an array.
 
Method Summary
 void add(Vector aVector)
          Appends aVector to this Vector.
 java.lang.Object clone()
          Returns a new vector cloned from the current one.
 Vector tabulate()
          Tabulates all the elements in the Vector.
 java.lang.String toOneString()
          Concatenates all the elements in the Vector to create one String.
 Vector toStrings()
          Returns a new vector with all elements of this Vector converted to Strings.
 Vector toTags()
          Returns a new vector with all the elemnts of this Vector converted to tags.
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Vector

public Vector()
This is the default constructor used to create a Vector object.

Vector

public Vector(java.lang.Object[] array)
This constructor creates a Vector object populated with the contents of an array.
Parameters:
array - java.lang.Object[]

Vector

public Vector(int initialCapacity)
This constructor creates a Vector object with a specified initial capacity.
Parameters:
initialCapacity - int

Vector

public Vector(int initialCapacity,
              int capacityIncrement)
This constructor creates a Vector object with a specified initial capacity and a specified amount by which the capacity increases.
Parameters:
initialCapacity - int
capacityIncrement - int
Method Detail

add

public void add(Vector aVector)
Appends aVector to this Vector.
Parameters:
Vector -  

clone

public java.lang.Object clone()
Returns a new vector cloned from the current one.
Overrides:
clone in class java.util.Vector
Returns:
java.lang.Object

tabulate

public Vector tabulate()
Tabulates all the elements in the Vector.

toOneString

public java.lang.String toOneString()
Concatenates all the elements in the Vector to create one String.
Returns:
java.lang.String

toStrings

public Vector toStrings()
Returns a new vector with all elements of this Vector converted to Strings.
Returns:
com.ibm.dse.base.Vector

toTags

public Vector toTags()
              throws java.io.IOException
Returns a new vector with all the elemnts of this Vector converted to tags.
Returns:
com.ibm.dse.base.Vector