gov.nist.nlpir.irf.index.braf
Class FeatureList

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.Vector
                    |
                    +--gov.nist.nlpir.irf.index.braf.FeatureList

public class FeatureList
extends java.util.Vector

This class extends Vector so that it can fit our needs for persistence, and mainly the management of references to proxies. All three constructors have the exact same meaning than in Vector.

Version:
$Revision: 1.4 $
Author:
This software was produced by NIST, an agency of the U.S. government, and by statute is not subject to copyright in the United States. Recipients of this software assume all responsibilities associated with its operation, modification and maintenance.
See Also:
DualKeyContainer, Serialized Form

Field Summary
private  boolean proxyRefsCountedTrue
           
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData, serialVersionUID
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
FeatureList()
           
FeatureList(int capacity)
           
FeatureList(int capacity, int capacityIncrement)
           
 
Method Summary
 java.lang.Object clone()
          This method is "persistence-ready" unlike the one in the super class.
 void finalize()
          "persistence-ready" version of the default method.
 void setProxyRefsCountedTrue()
          This method must be called if this FeatureList has registered its references.
 java.lang.String toString()
          Special definition of the method so that it doesn't take up too much space, mainly because IndexingFeatures are huge to display.
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, ensureCapacityHelper, 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
, getClass, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

proxyRefsCountedTrue

private boolean proxyRefsCountedTrue
Constructor Detail

FeatureList

public FeatureList()

FeatureList

public FeatureList(int capacity)

FeatureList

public FeatureList(int capacity,
                   int capacityIncrement)
Method Detail

clone

public java.lang.Object clone()
This method is "persistence-ready" unlike the one in the super class.
Overrides:
clone in class java.util.Vector

setProxyRefsCountedTrue

public void setProxyRefsCountedTrue()
This method must be called if this FeatureList has registered its references.

toString

public java.lang.String toString()
Special definition of the method so that it doesn't take up too much space, mainly because IndexingFeatures are huge to display.
Overrides:
toString in class java.util.Vector

finalize

public void finalize()
"persistence-ready" version of the default method.
Overrides:
finalize in class java.lang.Object