com.tivoli.pd.jutil
Class PDMessages

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.Vector
              extended by com.tivoli.pd.jutil.PDMessages
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess

public class PDMessages
extends java.util.Vector

This class stores a list of PDMessage elements.

Modes: Local,Remote

See Also:
Serialized Form

Constructor Summary
PDMessages()
          Constructs an empty PDMessages.
PDMessages(java.util.Collection c)
          Constructs a PDMessages containing the elements of the specified collection, in the order they are returned by the collection's iterator.
PDMessages(int initialCapacity)
          Constructs an empty PDMessages whose backing Vector has the specified initial capacity and a capacity increment equal to zero.
PDMessages(int initialCapacity, int capacityIncrement)
          Constructs an empty PDMessages whose backing Vector has the specified initial capacity and capacity increment.
 
Method Summary
 void clear()
          Clears any PDMessage objects present in this PDMessages object.
 java.lang.String toString()
          Returns a string representation of this object.
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Constructor Detail

PDMessages

public PDMessages()
Constructs an empty PDMessages. The backing Vector has the default internal data array size (which is 10) and its standard capacity increment (which is zero).


PDMessages

public PDMessages(java.util.Collection c)
Constructs a PDMessages containing the elements of the specified collection, in the order they are returned by the collection's iterator.


PDMessages

public PDMessages(int initialCapacity)
Constructs an empty PDMessages whose backing Vector has the specified initial capacity and a capacity increment equal to zero.


PDMessages

public PDMessages(int initialCapacity,
                  int capacityIncrement)
Constructs an empty PDMessages whose backing Vector has the specified initial capacity and capacity increment.

Method Detail

clear

public void clear()
Clears any PDMessage objects present in this PDMessages object.

Specified by:
clear in interface java.util.Collection
Specified by:
clear in interface java.util.List
Overrides:
clear in class java.util.Vector

toString

public java.lang.String toString()
Returns a string representation of this object.

Overrides:
toString in class java.util.Vector