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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringVector
public StringVector()
- CONSTRUCTORS
StringVector
public StringVector(int initialSize)
StringVector
public StringVector(int initialSize,
int increment)
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()