elementAt(int)
setElementAt(String, int)
size()
toString()
isEmpty()
contains(String)
indexOf(String)
lastIndexOf(String)
String addElement(String str)
Adds str as the last element of th array.
elementAt
String elementAt(int index)
Returns the string at index.
void setElementAt(String str, int index)
Sets the string at index to be str. The existing
string at index is dropped from the array.
int size()
Returns the number of Strings currently in the array.
String toString()
Returns a string composed of all the strings in the Array
boolean isEmpty()
Returns true if the array contains no elements.
boolean contains(String str)
Returns true if str is in the array
int indexOf(String str)
Searches for the first occurence of str in the array,
and returns an index to it, or -1 if it was not found.
int lastIndexOf(String str)
Searches backwards for str, and returns an index to it,
or -1 if it was not found.