org.apache.xml.utils
public class StringToStringTable extends Object
UNKNOWN: internal
Constructor Summary | |
---|---|
StringToStringTable()
Default constructor. | |
StringToStringTable(int blocksize)
Construct a StringToStringTable, using the given block size.
|
Method Summary | |
---|---|
boolean | contains(String key)
Tell if the table contains the given string.
|
boolean | containsValue(String val)
Tell if the table contains the given string.
|
String | elementAt(int i)
Get the nth element.
|
String | get(String key)
Tell if the table contains the given string.
|
String | getByValue(String val)
Tell if the table contains the given string in the value.
|
String | getIgnoreCase(String key)
Tell if the table contains the given string. |
int | getLength()
Get the length of the list.
|
void | put(String key, String value)
Append a string onto the vector.
|
void | remove(String key)
Remove the given string and its value from this table.
|
Parameters: blocksize Size of blocks to allocate
Parameters: key String to look up
Returns: True if the given string is in this table
Parameters: val value to look up
Returns: True if the given value is in the table.
Parameters: i index of the string to look up.
Returns: The string at the given index.
Parameters: key String to look up
Returns: return the value of the string or null if not found.
Parameters: val Value of the string to look up
Returns: the string associated with the given value or null if not found
Parameters: key String to look up
Returns: The value of the string or null if not found
Returns: Number of strings in the list
Parameters: key String to add to the list value Value of the string
Parameters: key String to remove from the table