| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
| <!--NewPage-->
|
| <HTML>
|
| <HEAD>
|
| <!-- Generated by javadoc on Thu Nov 22 17:12:57 EST 2007 -->
|
| <TITLE>
|
| Xalan-Java 2.7.1: Class NodeVector
|
| </TITLE>
|
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
| </HEAD>
|
| <BODY BGCOLOR="white">
|
|
|
| <!-- ========== START OF NAVBAR ========== -->
|
| <A NAME="navbar_top"><!-- --></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
|
| <TR>
|
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
| <A NAME="navbar_top_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
|
| <TR ALIGN="center" VALIGN="top">
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/NodeVector.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
| </TR>
|
| </TABLE>
|
| </TD>
|
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
| </EM>
|
| </TD>
|
| </TR>
|
|
|
| <TR>
|
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
| <A HREF="../../../../org/apache/xml/utils/NamespaceSupport2.html"><B>PREV CLASS</B></A>
|
| <A HREF="../../../../org/apache/xml/utils/NSInfo.html"><B>NEXT CLASS</B></A></FONT></TD>
|
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
| <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
|
| <A HREF="NodeVector.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
|
| </TR>
|
| <TR>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
| </TR>
|
| </TABLE>
|
| <!-- =========== END OF NAVBAR =========== -->
|
|
|
| <HR>
|
| <!-- ======== START OF CLASS DATA ======== -->
|
| <H2>
|
| <FONT SIZE="-1">
|
| org.apache.xml.utils</FONT>
|
| <BR>
|
| Class NodeVector</H2>
|
| <PRE>
|
| java.lang.Object
|
| |
|
| +--<B>org.apache.xml.utils.NodeVector</B>
|
| </PRE>
|
| <DL>
|
| <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/apache/xpath/NodeSetDTM.html">NodeSetDTM</A></DD>
|
| </DL>
|
| <HR>
|
| <DL>
|
| <DT>public class <B>NodeVector</B><DT>extends java.lang.Object<DT>implements java.io.Serializable, java.lang.Cloneable</DL>
|
|
|
| <P>
|
| A very simple table that stores a list of Nodes.
|
| <P>
|
| <DL>
|
| <DT><B>See Also: </B><DD><A HREF="../../../../serialized-form.html#org.apache.xml.utils.NodeVector">Serialized Form</A><DT><B>Usage:</B><DD><i><font size="-1" color="#FF0000"> **For internal use only**</font></i></DD> |
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <P>
|
| <!-- ======== INNER CLASS SUMMARY ======== -->
|
|
|
|
|
| <!-- =========== FIELD SUMMARY =========== -->
|
|
|
|
|
| <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
|
| <A NAME="constructor_summary"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
| <TD COLSPAN=2><FONT SIZE="+2">
|
| <B>Constructor Summary</B></FONT></TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/NodeVector.html#NodeVector()">NodeVector</A></B>()</CODE>
|
|
|
| <BR>
|
| Default constructor.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/NodeVector.html#NodeVector(int)">NodeVector</A></B>(int blocksize)</CODE>
|
|
|
| <BR>
|
| Construct a NodeVector, using the given block size.</TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <!-- ========== METHOD SUMMARY =========== -->
|
|
|
| <A NAME="method_summary"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
| <TD COLSPAN=2><FONT SIZE="+2">
|
| <B>Method Summary</B></FONT></TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/NodeVector.html#addElement(int)">addElement</A></B>(int value)</CODE>
|
|
|
| <BR>
|
| Append a Node onto the vector.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/NodeVector.html#appendNodes(org.apache.xml.utils.NodeVector)">appendNodes</A></B>(<A HREF="../../../../org/apache/xml/utils/NodeVector.html">NodeVector</A> nodes)</CODE>
|
|
|
| <BR>
|
| Append the nodes to the list.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> java.lang.Object</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/NodeVector.html#clone()">clone</A></B>()</CODE>
|
|
|
| <BR>
|
| Get a cloned LocPathIterator.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> boolean</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/NodeVector.html#contains(int)">contains</A></B>(int s)</CODE>
|
|
|
| <BR>
|
| Tell if the table contains the given node.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> int</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/NodeVector.html#elementAt(int)">elementAt</A></B>(int i)</CODE>
|
|
|
| <BR>
|
| Get the nth element.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> int</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/NodeVector.html#indexOf(int)">indexOf</A></B>(int elem)</CODE>
|
|
|
| <BR>
|
| Searches for the first occurence of the given argument, |
| beginning the search at index, and testing for equality |
| using the equals method.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> int</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/NodeVector.html#indexOf(int, int)">indexOf</A></B>(int elem, |
| int index)</CODE>
|
|
|
| <BR>
|
| Searches for the first occurence of the given argument, |
| beginning the search at index, and testing for equality |
| using the equals method.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/NodeVector.html#insertElementAt(int, int)">insertElementAt</A></B>(int value, |
| int at)</CODE>
|
|
|
| <BR>
|
| Inserts the specified node in this vector at the specified index.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/NodeVector.html#insertInOrder(int)">insertInOrder</A></B>(int value)</CODE>
|
|
|
| <BR>
|
| Insert a node in order in the list.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> int</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/NodeVector.html#peepOrNull()">peepOrNull</A></B>()</CODE>
|
|
|
| <BR>
|
| Return the node at the top of the stack without popping the stack.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> int</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/NodeVector.html#peepTail()">peepTail</A></B>()</CODE>
|
|
|
| <BR>
|
| Return the node at the tail of the vector without popping |
| Special purpose method for TransformerImpl, pushElemTemplateElement.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> int</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/NodeVector.html#peepTailSub1()">peepTailSub1</A></B>()</CODE>
|
|
|
| <BR>
|
| Return the node one position from the tail without popping.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> int</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/NodeVector.html#pop()">pop</A></B>()</CODE>
|
|
|
| <BR>
|
| Pop a node from the tail of the vector and return the result.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> int</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/NodeVector.html#popAndTop()">popAndTop</A></B>()</CODE>
|
|
|
| <BR>
|
| Pop a node from the tail of the vector and return the |
| top of the stack after the pop.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/NodeVector.html#popPair()">popPair</A></B>()</CODE>
|
|
|
| <BR>
|
| Pop a pair of nodes from the tail of the stack.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/NodeVector.html#popQuick()">popQuick</A></B>()</CODE>
|
|
|
| <BR>
|
| Pop a node from the tail of the vector.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/NodeVector.html#push(int)">push</A></B>(int value)</CODE>
|
|
|
| <BR>
|
| Append a Node onto the vector.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/NodeVector.html#pushPair(int, int)">pushPair</A></B>(int v1, |
| int v2)</CODE>
|
|
|
| <BR>
|
| Push a pair of nodes into the stack.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/NodeVector.html#removeAllElements()">removeAllElements</A></B>()</CODE>
|
|
|
| <BR>
|
| Inserts the specified node in this vector at the specified index.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/NodeVector.html#RemoveAllNoClear()">RemoveAllNoClear</A></B>()</CODE>
|
|
|
| <BR>
|
| Set the length to zero, but don't clear the array.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> boolean</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/NodeVector.html#removeElement(int)">removeElement</A></B>(int s)</CODE>
|
|
|
| <BR>
|
| Removes the first occurrence of the argument from this vector.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/NodeVector.html#removeElementAt(int)">removeElementAt</A></B>(int i)</CODE>
|
|
|
| <BR>
|
| Deletes the component at the specified index.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/NodeVector.html#setElementAt(int, int)">setElementAt</A></B>(int node, |
| int index)</CODE>
|
|
|
| <BR>
|
| Sets the component at the specified index of this vector to be the |
| specified object.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/NodeVector.html#setTail(int)">setTail</A></B>(int n)</CODE>
|
|
|
| <BR>
|
| Set the tail of the stack to the given node.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/NodeVector.html#setTailSub1(int)">setTailSub1</A></B>(int n)</CODE>
|
|
|
| <BR>
|
| Set the given node one position from the tail.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> int</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/NodeVector.html#size()">size</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the length of the list.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/NodeVector.html#sort()">sort</A></B>()</CODE>
|
|
|
| <BR>
|
| Sort an array using a quicksort algorithm.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/NodeVector.html#sort(int[], int, int)">sort</A></B>(int[] a, |
| int lo0, |
| int hi0)</CODE>
|
|
|
| <BR>
|
| Sort an array using a quicksort algorithm.</TD>
|
| </TR>
|
| </TABLE>
|
| <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
| <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD><CODE>equals,
|
| getClass,
|
| hashCode,
|
| notify,
|
| notifyAll,
|
| toString,
|
| wait,
|
| wait,
|
| wait</CODE></TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <P>
|
|
|
| <!-- ============ FIELD DETAIL =========== -->
|
|
|
|
|
| <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
|
| <A NAME="constructor_detail"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
| <TD COLSPAN=1><FONT SIZE="+2">
|
| <B>Constructor Detail</B></FONT></TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <A NAME="NodeVector()"><!-- --></A><H3>
|
| NodeVector</H3>
|
| <PRE>
|
| public <B>NodeVector</B>()</PRE>
|
| <DL>
|
| <DD>Default constructor.</DL>
|
| <HR>
|
|
|
| <A NAME="NodeVector(int)"><!-- --></A><H3>
|
| NodeVector</H3>
|
| <PRE>
|
| public <B>NodeVector</B>(int blocksize)</PRE>
|
| <DL>
|
| <DD>Construct a NodeVector, using the given block size.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>blocksize</CODE> - Size of blocks to allocate</DL>
|
| </DD>
|
| </DL>
|
|
|
| <!-- ============ METHOD DETAIL ========== -->
|
|
|
| <A NAME="method_detail"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
| <TD COLSPAN=1><FONT SIZE="+2">
|
| <B>Method Detail</B></FONT></TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <A NAME="clone()"><!-- --></A><H3>
|
| clone</H3>
|
| <PRE>
|
| public java.lang.Object <B>clone</B>() |
| throws java.lang.CloneNotSupportedException</PRE>
|
| <DL>
|
| <DD>Get a cloned LocPathIterator.<DD><DL>
|
| <DT><B>Returns:</B><DD>A clone of this<DT><B>Throws:</B><DD>java.lang.CloneNotSupportedException - </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="size()"><!-- --></A><H3>
|
| size</H3>
|
| <PRE>
|
| public int <B>size</B>()</PRE>
|
| <DL>
|
| <DD>Get the length of the list.<DD><DL>
|
| <DT><B>Returns:</B><DD>Number of nodes in this NodeVector</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="addElement(int)"><!-- --></A><H3>
|
| addElement</H3>
|
| <PRE>
|
| public void <B>addElement</B>(int value)</PRE>
|
| <DL>
|
| <DD>Append a Node onto the vector.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>value</CODE> - Node to add to the vector</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="push(int)"><!-- --></A><H3>
|
| push</H3>
|
| <PRE>
|
| public final void <B>push</B>(int value)</PRE>
|
| <DL>
|
| <DD>Append a Node onto the vector.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>value</CODE> - Node to add to the vector</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="pop()"><!-- --></A><H3>
|
| pop</H3>
|
| <PRE>
|
| public final int <B>pop</B>()</PRE>
|
| <DL>
|
| <DD>Pop a node from the tail of the vector and return the result.<DD><DL>
|
| <DT><B>Returns:</B><DD>the node at the tail of the vector</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="popAndTop()"><!-- --></A><H3>
|
| popAndTop</H3>
|
| <PRE>
|
| public final int <B>popAndTop</B>()</PRE>
|
| <DL>
|
| <DD>Pop a node from the tail of the vector and return the |
| top of the stack after the pop.<DD><DL>
|
| <DT><B>Returns:</B><DD>The top of the stack after it's been popped</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="popQuick()"><!-- --></A><H3>
|
| popQuick</H3>
|
| <PRE>
|
| public final void <B>popQuick</B>()</PRE>
|
| <DL>
|
| <DD>Pop a node from the tail of the vector.<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="peepOrNull()"><!-- --></A><H3>
|
| peepOrNull</H3>
|
| <PRE>
|
| public final int <B>peepOrNull</B>()</PRE>
|
| <DL>
|
| <DD>Return the node at the top of the stack without popping the stack. |
| Special purpose method for TransformerImpl, pushElemTemplateElement. |
| Performance critical.<DD><DL>
|
| <DT><B>Returns:</B><DD>Node at the top of the stack or null if stack is empty.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="pushPair(int, int)"><!-- --></A><H3>
|
| pushPair</H3>
|
| <PRE>
|
| public final void <B>pushPair</B>(int v1, |
| int v2)</PRE>
|
| <DL>
|
| <DD>Push a pair of nodes into the stack. |
| Special purpose method for TransformerImpl, pushElemTemplateElement. |
| Performance critical.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>v1</CODE> - First node to add to vector<DD><CODE>v2</CODE> - Second node to add to vector</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="popPair()"><!-- --></A><H3>
|
| popPair</H3>
|
| <PRE>
|
| public final void <B>popPair</B>()</PRE>
|
| <DL>
|
| <DD>Pop a pair of nodes from the tail of the stack. |
| Special purpose method for TransformerImpl, pushElemTemplateElement. |
| Performance critical.<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setTail(int)"><!-- --></A><H3>
|
| setTail</H3>
|
| <PRE>
|
| public final void <B>setTail</B>(int n)</PRE>
|
| <DL>
|
| <DD>Set the tail of the stack to the given node. |
| Special purpose method for TransformerImpl, pushElemTemplateElement. |
| Performance critical.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>n</CODE> - Node to set at the tail of vector</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setTailSub1(int)"><!-- --></A><H3>
|
| setTailSub1</H3>
|
| <PRE>
|
| public final void <B>setTailSub1</B>(int n)</PRE>
|
| <DL>
|
| <DD>Set the given node one position from the tail. |
| Special purpose method for TransformerImpl, pushElemTemplateElement. |
| Performance critical.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>n</CODE> - Node to set</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="peepTail()"><!-- --></A><H3>
|
| peepTail</H3>
|
| <PRE>
|
| public final int <B>peepTail</B>()</PRE>
|
| <DL>
|
| <DD>Return the node at the tail of the vector without popping |
| Special purpose method for TransformerImpl, pushElemTemplateElement. |
| Performance critical.<DD><DL>
|
| <DT><B>Returns:</B><DD>Node at the tail of the vector</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="peepTailSub1()"><!-- --></A><H3>
|
| peepTailSub1</H3>
|
| <PRE>
|
| public final int <B>peepTailSub1</B>()</PRE>
|
| <DL>
|
| <DD>Return the node one position from the tail without popping. |
| Special purpose method for TransformerImpl, pushElemTemplateElement. |
| Performance critical.<DD><DL>
|
| <DT><B>Returns:</B><DD>Node one away from the tail</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="insertInOrder(int)"><!-- --></A><H3>
|
| insertInOrder</H3>
|
| <PRE>
|
| public void <B>insertInOrder</B>(int value)</PRE>
|
| <DL>
|
| <DD>Insert a node in order in the list.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>value</CODE> - Node to insert</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="insertElementAt(int, int)"><!-- --></A><H3>
|
| insertElementAt</H3>
|
| <PRE>
|
| public void <B>insertElementAt</B>(int value, |
| int at)</PRE>
|
| <DL>
|
| <DD>Inserts the specified node in this vector at the specified index. |
| Each component in this vector with an index greater or equal to |
| the specified index is shifted upward to have an index one greater |
| than the value it had previously.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>value</CODE> - Node to insert<DD><CODE>at</CODE> - Position where to insert</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="appendNodes(org.apache.xml.utils.NodeVector)"><!-- --></A><H3>
|
| appendNodes</H3>
|
| <PRE>
|
| public void <B>appendNodes</B>(<A HREF="../../../../org/apache/xml/utils/NodeVector.html">NodeVector</A> nodes)</PRE>
|
| <DL>
|
| <DD>Append the nodes to the list.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>nodes</CODE> - NodeVector to append to this list</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="removeAllElements()"><!-- --></A><H3>
|
| removeAllElements</H3>
|
| <PRE>
|
| public void <B>removeAllElements</B>()</PRE>
|
| <DL>
|
| <DD>Inserts the specified node in this vector at the specified index. |
| Each component in this vector with an index greater or equal to |
| the specified index is shifted upward to have an index one greater |
| than the value it had previously.<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="RemoveAllNoClear()"><!-- --></A><H3>
|
| RemoveAllNoClear</H3>
|
| <PRE>
|
| public void <B>RemoveAllNoClear</B>()</PRE>
|
| <DL>
|
| <DD>Set the length to zero, but don't clear the array.<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="removeElement(int)"><!-- --></A><H3>
|
| removeElement</H3>
|
| <PRE>
|
| public boolean <B>removeElement</B>(int s)</PRE>
|
| <DL>
|
| <DD>Removes the first occurrence of the argument from this vector. |
| If the object is found in this vector, each component in the vector |
| with an index greater or equal to the object's index is shifted |
| downward to have an index one smaller than the value it had |
| previously.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>s</CODE> - Node to remove from the list<DT><B>Returns:</B><DD>True if the node was successfully removed</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="removeElementAt(int)"><!-- --></A><H3>
|
| removeElementAt</H3>
|
| <PRE>
|
| public void <B>removeElementAt</B>(int i)</PRE>
|
| <DL>
|
| <DD>Deletes the component at the specified index. Each component in |
| this vector with an index greater or equal to the specified |
| index is shifted downward to have an index one smaller than |
| the value it had previously.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>i</CODE> - Index of node to remove</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setElementAt(int, int)"><!-- --></A><H3>
|
| setElementAt</H3>
|
| <PRE>
|
| public void <B>setElementAt</B>(int node, |
| int index)</PRE>
|
| <DL>
|
| <DD>Sets the component at the specified index of this vector to be the |
| specified object. The previous component at that position is discarded. |
| |
| The index must be a value greater than or equal to 0 and less |
| than the current size of the vector.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>node</CODE> - Node to set<DD><CODE>index</CODE> - Index of where to set the node</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="elementAt(int)"><!-- --></A><H3>
|
| elementAt</H3>
|
| <PRE>
|
| public int <B>elementAt</B>(int i)</PRE>
|
| <DL>
|
| <DD>Get the nth element.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>i</CODE> - Index of node to get<DT><B>Returns:</B><DD>Node at specified index</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="contains(int)"><!-- --></A><H3>
|
| contains</H3>
|
| <PRE>
|
| public boolean <B>contains</B>(int s)</PRE>
|
| <DL>
|
| <DD>Tell if the table contains the given node.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>s</CODE> - Node to look for<DT><B>Returns:</B><DD>True if the given node was found.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="indexOf(int, int)"><!-- --></A><H3>
|
| indexOf</H3>
|
| <PRE>
|
| public int <B>indexOf</B>(int elem, |
| int index)</PRE>
|
| <DL>
|
| <DD>Searches for the first occurence of the given argument, |
| beginning the search at index, and testing for equality |
| using the equals method.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>elem</CODE> - Node to look for<DD><CODE>index</CODE> - Index of where to start the search<DT><B>Returns:</B><DD>the index of the first occurrence of the object |
| argument in this vector at position index or later in the |
| vector; returns -1 if the object is not found.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="indexOf(int)"><!-- --></A><H3>
|
| indexOf</H3>
|
| <PRE>
|
| public int <B>indexOf</B>(int elem)</PRE>
|
| <DL>
|
| <DD>Searches for the first occurence of the given argument, |
| beginning the search at index, and testing for equality |
| using the equals method.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>elem</CODE> - Node to look for<DT><B>Returns:</B><DD>the index of the first occurrence of the object |
| argument in this vector at position index or later in the |
| vector; returns -1 if the object is not found.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="sort(int[], int, int)"><!-- --></A><H3>
|
| sort</H3>
|
| <PRE>
|
| public void <B>sort</B>(int[] a, |
| int lo0, |
| int hi0) |
| throws java.lang.Exception</PRE>
|
| <DL>
|
| <DD>Sort an array using a quicksort algorithm.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>a</CODE> - The array to be sorted.<DD><CODE>lo0</CODE> - The low index.<DD><CODE>hi0</CODE> - The high index.<DT><B>Throws:</B><DD>java.lang.Exception - </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="sort()"><!-- --></A><H3>
|
| sort</H3>
|
| <PRE>
|
| public void <B>sort</B>() |
| throws java.lang.Exception</PRE>
|
| <DL>
|
| <DD>Sort an array using a quicksort algorithm.<DD><DL>
|
| <DT><B>Throws:</B><DD>java.lang.Exception - </DL>
|
| </DD>
|
| </DL>
|
| <!-- ========= END OF CLASS DATA ========= -->
|
| <HR>
|
|
|
| <!-- ========== START OF NAVBAR ========== -->
|
| <A NAME="navbar_bottom"><!-- --></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
|
| <TR>
|
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
| <A NAME="navbar_bottom_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
|
| <TR ALIGN="center" VALIGN="top">
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/NodeVector.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
| </TR>
|
| </TABLE>
|
| </TD>
|
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
| </EM>
|
| </TD>
|
| </TR>
|
|
|
| <TR>
|
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
| <A HREF="../../../../org/apache/xml/utils/NamespaceSupport2.html"><B>PREV CLASS</B></A>
|
| <A HREF="../../../../org/apache/xml/utils/NSInfo.html"><B>NEXT CLASS</B></A></FONT></TD>
|
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
| <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
|
| <A HREF="NodeVector.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
|
| </TR>
|
| <TR>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
| </TR>
|
| </TABLE>
|
| <!-- =========== END OF NAVBAR =========== -->
|
|
|
| <HR>
|
| Copyright © 2006 Apache XML Project. All Rights Reserved.
|
| </BODY>
|
| </HTML>
|