scone.netobjects
Class LinkVector

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.Vector
              extended by scone.netobjects.LinkVector
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess

public class LinkVector
extends java.util.Vector

a Vector of Link objects

Author:
Harald Weinreich, Volkert Buchmann
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
LinkVector()
          creates an empty LinkVector
 
Method Summary
 void addLink(Link link)
          adds a Link to the LinkVector
 Link linkAt(int i)
          returns the specified Link from the LinkVector
 
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, 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
 

Constructor Detail

LinkVector

public LinkVector()
creates an empty LinkVector

Method Detail

addLink

public void addLink(Link link)
adds a Link to the LinkVector

Parameters:
link - the Link

linkAt

public Link linkAt(int i)
returns the specified Link from the LinkVector

Parameters:
i - the position of the Link
Returns:
the Link