org.apache.xml.utils
public class StringVector extends Object implements Serializable
UNKNOWN: internal
| Constructor Summary | |
|---|---|
| StringVector()
Default constructor. | |
| StringVector(int blocksize)
Construct a StringVector, using the given block size.
| |
| Method Summary | |
|---|---|
| void | addElement(String value)
Append a string onto the vector.
|
| boolean | contains(String s)
Tell if the table contains the given string.
|
| boolean | containsIgnoreCase(String s)
Tell if the table contains the given string. |
| String | elementAt(int i)
Get the nth element.
|
| int | getLength()
Get the length of the list.
|
| String | peek()
Get the string at the tail of this vector without popping.
|
| String | pop()
Pop the tail of this vector.
|
| void | push(String s)
Tell if the table contains the given string.
|
| int | size()
Get the length of the list.
|
Parameters: blocksize Size of the blocks to allocate
Parameters: value Sting to add to the vector
Parameters: s String to look for
Returns: True if the string is in this table
Parameters: s String to find
Returns: True if the String is in this vector
Parameters: i Index of string to find
Returns: String at given index
Returns: Number of strings in the list
Returns: The string at the tail of this vector.
Returns: The String last added to this vector or null not found. The string is removed from the vector.
Parameters: s String to push into the vector
Returns: Number of strings in the list