public class StringToStringTableVector
extends java.lang.Object
| Constructor and Description |
|---|
StringToStringTableVector()
Default constructor.
|
StringToStringTableVector(int blocksize)
Construct a StringToStringTableVector, using the given block size.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addElement(StringToStringTable value)
Append a StringToStringTable object onto the vector.
|
boolean |
contains(StringToStringTable s)
Tell if the table contains the given StringToStringTable.
|
boolean |
containsKey(java.lang.String key)
Given a string, find out if there is a value in this table
that matches the key.
|
StringToStringTable |
elementAt(int i)
Get the nth element.
|
java.lang.String |
get(java.lang.String key)
Given a string, find the last added occurance value
that matches the key.
|
int |
getLength()
Get the length of the list.
|
void |
removeLastElem()
Remove the last element.
|
int |
size()
Get the length of the list.
|
public StringToStringTableVector()
public StringToStringTableVector(int blocksize)
blocksize - Size of blocks to allocatepublic final int getLength()
public final int size()
public final void addElement(StringToStringTable value)
value - StringToStringTable object to addpublic final java.lang.String get(java.lang.String key)
key - String to look uppublic final boolean containsKey(java.lang.String key)
key - String to look forpublic final void removeLastElem()
public final StringToStringTable elementAt(int i)
i - Index of element to findpublic final boolean contains(StringToStringTable s)
s - The StringToStringTable to findCopyright © 2014 Apache XML Project. All Rights Reserved.