org.omegahat.Environment.DataStructures
Class BasicFactorLevelSet

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.Vector
                    |
                    +--org.omegahat.Environment.DataStructures.BasicFactorLevelSet
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, FactorLevelSet, java.util.List, java.io.Serializable

public class BasicFactorLevelSet
extends java.util.Vector
implements FactorLevelSet

See Also:
Serialized Form

Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
BasicFactorLevelSet()
          Default Constructor for use by derived classes and for empty initialization.
BasicFactorLevelSet(int size)
          Initializing constructor that pre-allocates a specifiable space for elements to be added in the future.
BasicFactorLevelSet(java.util.Vector v)
           
BasicFactorLevelSet(java.util.Vector v, boolean copy)
           
 
Method Summary
 int addElements(java.util.Vector v)
           
 int addElements(java.util.Vector v, boolean append)
           
 java.lang.Object[] values()
          Obtain the elements of this set.
 
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 org.omegahat.Environment.DataStructures.FactorLevelSet
elementAt
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Constructor Detail

BasicFactorLevelSet

public BasicFactorLevelSet(int size)
Initializing constructor that pre-allocates a specifiable space for elements to be added in the future.

BasicFactorLevelSet

public BasicFactorLevelSet(java.util.Vector v)

BasicFactorLevelSet

public BasicFactorLevelSet(java.util.Vector v,
                           boolean copy)

BasicFactorLevelSet

public BasicFactorLevelSet()
Default Constructor for use by derived classes and for empty initialization.
Method Detail

addElements

public int addElements(java.util.Vector v,
                       boolean append)

addElements

public int addElements(java.util.Vector v)

values

public java.lang.Object[] values()
Description copied from interface: FactorLevelSet
Obtain the elements of this set.
Specified by:
values in interface FactorLevelSet