public class StringToStringTable
extends java.lang.Object
| Constructor and Description |
|---|
StringToStringTable()
Default constructor.
|
StringToStringTable(int blocksize)
Construct a StringToStringTable, using the given block size.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(java.lang.String key)
Tell if the table contains the given string.
|
boolean |
containsValue(java.lang.String val)
Tell if the table contains the given string.
|
java.lang.String |
elementAt(int i)
Get the nth element.
|
java.lang.String |
get(java.lang.String key)
Tell if the table contains the given string.
|
java.lang.String |
getByValue(java.lang.String val)
Tell if the table contains the given string in the value.
|
java.lang.String |
getIgnoreCase(java.lang.String key)
Tell if the table contains the given string.
|
int |
getLength()
Get the length of the list.
|
void |
put(java.lang.String key,
java.lang.String value)
Append a string onto the vector.
|
void |
remove(java.lang.String key)
Remove the given string and its value from this table.
|
public StringToStringTable()
public StringToStringTable(int blocksize)
blocksize - Size of blocks to allocatepublic final int getLength()
public final void put(java.lang.String key,
java.lang.String value)
key - String to add to the listvalue - Value of the stringpublic final java.lang.String get(java.lang.String key)
key - String to look uppublic final void remove(java.lang.String key)
key - String to remove from the tablepublic final java.lang.String getIgnoreCase(java.lang.String key)
key - String to look uppublic final java.lang.String getByValue(java.lang.String val)
val - Value of the string to look uppublic final java.lang.String elementAt(int i)
i - index of the string to look up.public final boolean contains(java.lang.String key)
key - String to look uppublic final boolean containsValue(java.lang.String val)
val - value to look upCopyright © 2023 Apache XML Project. All Rights Reserved.