IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.base
Class Vector

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.Vector
              extended by com.ibm.btt.base.Vector
All Implemented Interfaces:
DSECloneable, java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess

public class Vector
extends java.util.Vector
implements DSECloneable

This extension provides functions useful for externalization.

See Also:
Serialized Form

Field Summary
static java.lang.String Clone
           
 
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.
static Vector clone(java.util.Vector vector)
          Returns a new vector cloned from the current one.
static java.util.Vector clone(Vector vector)
          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
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Field Detail

Clone

public static final java.lang.String Clone
See Also:
Constant Field Values
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.


clone

public java.lang.Object clone()
Returns a new vector cloned from the current one.

Specified by:
clone in interface DSECloneable
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.btt.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.btt.base.Vector
Throws:
java.io.IOException

clone

public static Vector clone(java.util.Vector vector)
Returns a new vector cloned from the current one.

Returns:
java.lang.Object

clone

public static java.util.Vector clone(Vector vector)
Returns a new vector cloned from the current one.

Returns:
java.lang.Object

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2010