nrc.fuzzy
Class StringVector

java.lang.Object
  |
  +--nrc.fuzzy.StringVector
All Implemented Interfaces:
java.io.Serializable

public class StringVector
extends java.lang.Object
implements java.io.Serializable

The StringVector class implements a growable array of String objects. Like an array, the values can be accessed using an integer index. However, the size of a StringVector can grow as needed to accommodate the addition of Strings after the StringVector has been created.

See Also:
Serialized Form

Constructor Summary
StringVector()
          CONSTRUCTORS
StringVector(int initialSize)
           
StringVector(int initialSize, int increment)
           
 
Method Summary
 void addString(java.lang.String string)
          ACCESSIBLE METHODS FOR USING THE STRINGVECTOR
 void concat(nrc.fuzzy.StringVector other)
           
 void removeAllStrings()
           
 int size()
           
 java.lang.String StringAt(int i)
           
 java.lang.String[] toStringArray()
           
 void trimToSize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringVector

public StringVector()
CONSTRUCTORS


StringVector

public StringVector(int initialSize)

StringVector

public StringVector(int initialSize,
                    int increment)
Method Detail

addString

public void addString(java.lang.String string)
ACCESSIBLE METHODS FOR USING THE STRINGVECTOR


concat

public void concat(nrc.fuzzy.StringVector other)

removeAllStrings

public void removeAllStrings()

StringAt

public java.lang.String StringAt(int i)

trimToSize

public void trimToSize()

size

public int size()

toStringArray

public java.lang.String[] toStringArray()