|
Enhydra 3.1 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xalan.xpath.xml.StringToStringTable
A very simple lookup table that stores a list of strings, the even number strings being keys, and the odd number strings being values.
Constructor Summary | |
StringToStringTable()
Default constructor. |
|
StringToStringTable(int blocksize)
Construct a StringToStringTable, using the given block size. |
Method Summary | |
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)
Tell if the table contains the given string. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public StringToStringTable()
public StringToStringTable(int blocksize)
Method Detail |
public final int getLength()
public final void put(java.lang.String key, java.lang.String value)
public final java.lang.String get(java.lang.String key)
public final void remove(java.lang.String key)
public final java.lang.String getIgnoreCase(java.lang.String key)
public final java.lang.String getByValue(java.lang.String val)
public final java.lang.String elementAt(int i)
public final boolean contains(java.lang.String key)
public final boolean containsValue(java.lang.String val)
|
Enhydra 3.1 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |