com.hp.hpl.deli
Class VectorUnique

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.Vector
              extended bycom.hp.hpl.deli.VectorUnique
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.util.List, java.util.RandomAccess, java.io.Serializable

class VectorUnique
extends java.util.Vector
implements java.io.Serializable

This class extends the vector class so that it is possible to ensure they only contain unique members. This is necessary to represent RDF:Seq and RDF:Bag constructs.

Author:
Mark H. Butler (mark-h.butler@hp.com)

Nested Class Summary
 
Nested classes inherited from class java.util.AbstractList
 
Field Summary
private static long serialVersionUID
          Comment for serialVersionUID
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
(package private) VectorUnique()
           
 
Method Summary
protected  void addUnique(java.util.Vector a)
          Add a Vector of values to this vector, checking for each entry that it is not already present in the Vector.
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Comment for serialVersionUID

See Also:
Constant Field Values
Constructor Detail

VectorUnique

VectorUnique()
Method Detail

addUnique

protected void addUnique(java.util.Vector a)
Add a Vector of values to this vector, checking for each entry that it is not already present in the Vector.

Parameters:
a - The Vector of values to be added.