org.apache.xml.serializer.utils
public final class StringToIntTable extends Object
UNKNOWN: internal
Field Summary | |
---|---|
static int | INVALID_KEY |
Constructor Summary | |
---|---|
StringToIntTable()
Default constructor. | |
StringToIntTable(int blocksize)
Construct a StringToIntTable, using the given block size.
|
Method Summary | |
---|---|
boolean | contains(String key)
Tell if the table contains the given string.
|
int | get(String key)
Tell if the table contains the given string.
|
int | getIgnoreCase(String key)
Tell if the table contains the given string. |
int | getLength()
Get the length of the list.
|
String[] | keys()
Return array of keys in the table.
|
void | put(String key, int value)
Append a string onto the vector.
|
Parameters: blocksize Size of block to allocate
Parameters: key String to look for
Returns: True if the string is in the table
Parameters: key String to look for
Returns: The String's int value
Parameters: key String to look for
Returns: The string's int value
Returns: the length of the list
Returns: Array of strings
Parameters: key String to append value The int value of the string