HPSearch

cgl.hpsearch.common
Class NamedVector

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.Vector
              extended bycgl.hpsearch.common.NamedVector
All Implemented Interfaces:
Cloneable, Collection, List, RandomAccess, Serializable

public class NamedVector
extends Vector

Named Vector is a Vector with a name
USeful for creating Elements of JTree
Created on Feb 3, 2005

Author:
Harshawardhan Gadgil (hgadgil@grids.ucs.indiana.edu)
See Also:
Serialized Form

Field Summary
 String name
           
 NamedVector parent
           
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
NamedVector(String n)
           
NamedVector(String n, Object[] o)
           
 
Method Summary
 NamedVector deSerialize(String xml)
           
 String getXML()
           
static void main(String[] a)
           
 String serialize()
           
 String toString()
           
 
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, removeRange, 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
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Field Detail

name

public String name

parent

public NamedVector parent
Constructor Detail

NamedVector

public NamedVector(String n)

NamedVector

public NamedVector(String n,
                   Object[] o)
Method Detail

toString

public String toString()

getXML

public String getXML()

serialize

public String serialize()

deSerialize

public NamedVector deSerialize(String xml)

main

public static void main(String[] a)

HPSearch

For comments and suggestions please send e-mail to Harshawardhan Gadgil
Last updated: June 9 2006