|
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.NodeVector
A very simple table that stores a list of Nodes.
Field Summary | |
protected Node[] |
m_map
|
Constructor Summary | |
NodeVector()
Default constructor. |
|
NodeVector(int blocksize)
Construct a NodeVector, using the given block size. |
Method Summary | |
void |
addElement(Node value)
Append a Node onto the vector. |
void |
appendNodes(NodeVector nodes)
Append the nodes to the list. |
boolean |
contains(Node s)
Tell if the table contains the given node. |
Node |
elementAt(int i)
Get the nth element. |
int |
indexOf(Node elem)
Searches for the first occurence of the given argument, beginning the search at index, and testing for equality using the equals method. |
int |
indexOf(Node elem,
int index)
Searches for the first occurence of the given argument, beginning the search at index, and testing for equality using the equals method. |
void |
insertElementAt(Node value,
int at)
Inserts the specified node in this vector at the specified index. |
void |
removeAllElements()
Inserts the specified node in this vector at the specified index. |
boolean |
removeElement(Node s)
Removes the first occurrence of the argument from this vector. |
void |
removeElementAt(int i)
Deletes the component at the specified index. |
void |
setElementAt(Node node,
int index)
Sets the component at the specified index of this vector to be the specified object. |
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 Node[] m_map
Constructor Detail |
public NodeVector()
public NodeVector(int blocksize)
Method Detail |
public final int size()
public final void addElement(Node value)
public final void insertElementAt(Node value, int at)
public final void appendNodes(NodeVector nodes)
public final void removeAllElements()
public final boolean removeElement(Node s)
public final void removeElementAt(int i)
public final void setElementAt(Node node, int index)
public final Node elementAt(int i)
public final boolean contains(Node s)
public final int indexOf(Node elem, int index)
public final int indexOf(Node elem)
|
Enhydra 3.1 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |