|
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.StringVector
A very simple table that stores a list of strings, optimized for small lists.
Field Summary | |
protected int |
m_blocksize
|
protected int |
m_firstFree
|
protected java.lang.String[] |
m_map
|
protected int |
m_mapSize
|
Constructor Summary | |
StringVector()
Default constructor. |
|
StringVector(int blocksize)
Construct a StringVector, using the given block size. |
Method Summary | |
void |
addElement(java.lang.String value)
Append a string onto the vector. |
boolean |
contains(java.lang.String s)
Tell if the table contains the given string. |
boolean |
containsIgnoreCase(java.lang.String s)
Tell if the table contains the given string. |
java.lang.String |
elementAt(int i)
Get the nth element. |
int |
getLength()
Get the length of the list. |
java.lang.String |
peek()
Tell if the table contains the given string. |
java.lang.String |
pop()
Tell if the table contains the given string. |
void |
push(java.lang.String s)
Tell if the table contains the given string. |
int |
size()
Get the length of the list. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected int m_blocksize
protected java.lang.String[] m_map
protected int m_firstFree
protected int m_mapSize
Constructor Detail |
public StringVector()
public StringVector(int blocksize)
Method Detail |
public int getLength()
public final int size()
public final void addElement(java.lang.String value)
public final java.lang.String elementAt(int i)
public final boolean contains(java.lang.String s)
public final boolean containsIgnoreCase(java.lang.String s)
public final void push(java.lang.String s)
public final java.lang.String pop()
public final java.lang.String peek()
|
Enhydra 3.1 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |