org.glite.rgma
Class StringList

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.Vector
              extended byorg.glite.rgma.StringList
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.util.List, java.util.RandomAccess, java.io.Serializable

public class StringList
extends java.util.Vector

A list of String objects.

See Also:
Serialized Form

Constructor Summary
StringList()
          Creates a new StringList object.
 
Method Summary
 java.lang.String getString(int index)
          Retrieves the String with the specified index.
 StringList subList(int fromIndex)
          Returns a new StringList containing the elements of this list from index fromIndex to the end.
 java.lang.String toString()
          Returns a string representation of the object.
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, 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

StringList

public StringList()
Creates a new StringList object.

Method Detail

subList

public StringList subList(int fromIndex)
Returns a new StringList containing the elements of this list from index fromIndex to the end.

Parameters:
fromIndex - First String to return.
Returns:
List of String objects.
See Also:
RGMAException.getNumSuccessfulOps()

getString

public java.lang.String getString(int index)
Retrieves the String with the specified index.

Parameters:
index - Index of String to get (0 <= index < size)
Returns:
A String object.

toString

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

Returns:
A string representation of the object.
See Also:
Object.toString()