<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<!--NewPage--> | |
<HTML> | |
<HEAD> | |
<!-- Generated by javadoc (build 1.5.0_18) on Sun Apr 01 21:18:38 PDT 2012 --> | |
<TITLE> | |
ObjectStack | |
</TITLE> | |
<META NAME="keywords" CONTENT="org.apache.xml.utils.ObjectStack class"> | |
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> | |
<SCRIPT type="text/javascript"> | |
function windowTitle() | |
{ | |
parent.document.title="ObjectStack"; | |
} | |
</SCRIPT> | |
<NOSCRIPT> | |
</NOSCRIPT> | |
</HEAD> | |
<BODY BGCOLOR="white" onload="windowTitle();"> | |
<!-- ========= START OF TOP NAVBAR ======= --> | |
<A NAME="navbar_top"><!-- --></A> | |
<A HREF="#skip-navbar_top" title="Skip navigation links"></A> | |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> | |
<TR> | |
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> | |
<A NAME="navbar_top_firstrow"><!-- --></A> | |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> | |
<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/ObjectStack.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/ObjectPool.html" title="class in org.apache.xml.utils"><B>PREV CLASS</B></A> | |
<A HREF="../../../../org/apache/xml/utils/ObjectVector.html" title="class in org.apache.xml.utils"><B>NEXT CLASS</B></A></FONT></TD> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../index.html?org/apache/xml/utils/ObjectStack.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="ObjectStack.html" target="_top"><B>NO FRAMES</B></A> | |
<SCRIPT type="text/javascript"> | |
<!-- | |
if(window==top) { | |
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); | |
} | |
//--> | |
</SCRIPT> | |
<NOSCRIPT> | |
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> | |
</NOSCRIPT> | |
</FONT></TD> | |
</TR> | |
<TR> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_org.apache.xml.utils.ObjectVector">FIELD</A> | <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> | |
<A NAME="skip-navbar_top"></A> | |
<!-- ========= END OF TOP NAVBAR ========= --> | |
<HR> | |
<!-- ======== START OF CLASS DATA ======== --> | |
<H2> | |
<FONT SIZE="-1"> | |
org.apache.xml.utils</FONT> | |
<BR> | |
Class ObjectStack</H2> | |
<PRE> | |
java.lang.Object | |
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/apache/xml/utils/ObjectVector.html" title="class in org.apache.xml.utils">org.apache.xml.utils.ObjectVector</A> | |
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.xml.utils.ObjectStack</B> | |
</PRE> | |
<DL> | |
<DT><B>All Implemented Interfaces:</B> <DD>java.lang.Cloneable</DD> | |
</DL> | |
<HR> | |
<DL> | |
<DT><PRE>public class <A HREF="../../../../src-html/org/apache/xml/utils/ObjectStack.html#line.34"><B>ObjectStack</B></A><DT>extends <A HREF="../../../../org/apache/xml/utils/ObjectVector.html" title="class in org.apache.xml.utils">ObjectVector</A></DL> | |
</PRE> | |
<P> | |
Implement a stack of simple integers. | |
%OPT% | |
This is currently based on ObjectVector, which permits fast acess but pays a | |
heavy recopying penalty if/when its size is increased. If we expect deep | |
stacks, we should consider a version based on ChunkedObjectVector. | |
<P> | |
<P> | |
<HR> | |
<P> | |
<!-- =========== FIELD SUMMARY =========== --> | |
<A NAME="field_summary"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | |
<B>Field Summary</B></FONT></TH> | |
</TR> | |
</TABLE> | |
<A NAME="fields_inherited_from_class_org.apache.xml.utils.ObjectVector"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> | |
<TH ALIGN="left"><B>Fields inherited from class org.apache.xml.utils.<A HREF="../../../../org/apache/xml/utils/ObjectVector.html" title="class in org.apache.xml.utils">ObjectVector</A></B></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><A HREF="../../../../org/apache/xml/utils/ObjectVector.html#m_blocksize">m_blocksize</A>, <A HREF="../../../../org/apache/xml/utils/ObjectVector.html#m_firstFree">m_firstFree</A>, <A HREF="../../../../org/apache/xml/utils/ObjectVector.html#m_map">m_map</A>, <A HREF="../../../../org/apache/xml/utils/ObjectVector.html#m_mapSize">m_mapSize</A></CODE></TD> | |
</TR> | |
</TABLE> | |
| |
<!-- ======== CONSTRUCTOR SUMMARY ======== --> | |
<A NAME="constructor_summary"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | |
<B>Constructor Summary</B></FONT></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><B><A HREF="../../../../org/apache/xml/utils/ObjectStack.html#ObjectStack()">ObjectStack</A></B>()</CODE> | |
<BR> | |
Default constructor.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><B><A HREF="../../../../org/apache/xml/utils/ObjectStack.html#ObjectStack(int)">ObjectStack</A></B>(int blocksize)</CODE> | |
<BR> | |
Construct a ObjectVector, using the given block size.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><B><A HREF="../../../../org/apache/xml/utils/ObjectStack.html#ObjectStack(org.apache.xml.utils.ObjectStack)">ObjectStack</A></B>(<A HREF="../../../../org/apache/xml/utils/ObjectStack.html" title="class in org.apache.xml.utils">ObjectStack</A> v)</CODE> | |
<BR> | |
Copy constructor for ObjectStack</TD> | |
</TR> | |
</TABLE> | |
| |
<!-- ========== METHOD SUMMARY =========== --> | |
<A NAME="method_summary"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | |
<B>Method Summary</B></FONT></TH> | |
</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/ObjectStack.html#clone()">clone</A></B>()</CODE> | |
<BR> | |
Returns clone of current ObjectStack</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/ObjectStack.html#empty()">empty</A></B>()</CODE> | |
<BR> | |
Tests if this stack is empty.</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/ObjectStack.html#peek()">peek</A></B>()</CODE> | |
<BR> | |
Looks at the object at the top of this stack without removing it | |
from the stack.</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/ObjectStack.html#peek(int)">peek</A></B>(int n)</CODE> | |
<BR> | |
Looks at the object at the position the stack counting down n items.</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/ObjectStack.html#pop()">pop</A></B>()</CODE> | |
<BR> | |
Removes the object at the top of this stack and returns that | |
object as the value of this function.</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/ObjectStack.html#push(java.lang.Object)">push</A></B>(java.lang.Object i)</CODE> | |
<BR> | |
Pushes an item onto the top of this 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/ObjectStack.html#quickPop(int)">quickPop</A></B>(int n)</CODE> | |
<BR> | |
Quickly pops a number of items from 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/ObjectStack.html#search(java.lang.Object)">search</A></B>(java.lang.Object o)</CODE> | |
<BR> | |
Returns where an object is on this 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/ObjectStack.html#setTop(java.lang.Object)">setTop</A></B>(java.lang.Object val)</CODE> | |
<BR> | |
Sets an object at a the top of the statck</TD> | |
</TR> | |
</TABLE> | |
<A NAME="methods_inherited_from_class_org.apache.xml.utils.ObjectVector"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> | |
<TH ALIGN="left"><B>Methods inherited from class org.apache.xml.utils.<A HREF="../../../../org/apache/xml/utils/ObjectVector.html" title="class in org.apache.xml.utils">ObjectVector</A></B></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><A HREF="../../../../org/apache/xml/utils/ObjectVector.html#addElement(java.lang.Object)">addElement</A>, <A HREF="../../../../org/apache/xml/utils/ObjectVector.html#addElements(int)">addElements</A>, <A HREF="../../../../org/apache/xml/utils/ObjectVector.html#addElements(java.lang.Object, int)">addElements</A>, <A HREF="../../../../org/apache/xml/utils/ObjectVector.html#contains(java.lang.Object)">contains</A>, <A HREF="../../../../org/apache/xml/utils/ObjectVector.html#elementAt(int)">elementAt</A>, <A HREF="../../../../org/apache/xml/utils/ObjectVector.html#indexOf(java.lang.Object)">indexOf</A>, <A HREF="../../../../org/apache/xml/utils/ObjectVector.html#indexOf(java.lang.Object, int)">indexOf</A>, <A HREF="../../../../org/apache/xml/utils/ObjectVector.html#insertElementAt(java.lang.Object, int)">insertElementAt</A>, <A HREF="../../../../org/apache/xml/utils/ObjectVector.html#lastIndexOf(java.lang.Object)">lastIndexOf</A>, <A HREF="../../../../org/apache/xml/utils/ObjectVector.html#removeAllElements()">removeAllElements</A>, <A HREF="../../../../org/apache/xml/utils/ObjectVector.html#removeElement(java.lang.Object)">removeElement</A>, <A HREF="../../../../org/apache/xml/utils/ObjectVector.html#removeElementAt(int)">removeElementAt</A>, <A HREF="../../../../org/apache/xml/utils/ObjectVector.html#setElementAt(java.lang.Object, int)">setElementAt</A>, <A HREF="../../../../org/apache/xml/utils/ObjectVector.html#setSize(int)">setSize</A>, <A HREF="../../../../org/apache/xml/utils/ObjectVector.html#setToSize(int)">setToSize</A>, <A HREF="../../../../org/apache/xml/utils/ObjectVector.html#size()">size</A></CODE></TD> | |
</TR> | |
</TABLE> | |
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> | |
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE>equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> | |
</TR> | |
</TABLE> | |
| |
<P> | |
<!-- ========= CONSTRUCTOR DETAIL ======== --> | |
<A NAME="constructor_detail"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> | |
<B>Constructor Detail</B></FONT></TH> | |
</TR> | |
</TABLE> | |
<A NAME="ObjectStack()"><!-- --></A><H3> | |
ObjectStack</H3> | |
<PRE> | |
public <A HREF="../../../../src-html/org/apache/xml/utils/ObjectStack.html#line.41"><B>ObjectStack</B></A>()</PRE> | |
<DL> | |
<DD>Default constructor. Note that the default | |
block size is very small, for small lists. | |
<P> | |
</DL> | |
<HR> | |
<A NAME="ObjectStack(int)"><!-- --></A><H3> | |
ObjectStack</H3> | |
<PRE> | |
public <A HREF="../../../../src-html/org/apache/xml/utils/ObjectStack.html#line.51"><B>ObjectStack</B></A>(int blocksize)</PRE> | |
<DL> | |
<DD>Construct a ObjectVector, using the given block size. | |
<P> | |
<DL> | |
<DT><B>Parameters:</B><DD><CODE>blocksize</CODE> - Size of block to allocate</DL> | |
</DL> | |
<HR> | |
<A NAME="ObjectStack(org.apache.xml.utils.ObjectStack)"><!-- --></A><H3> | |
ObjectStack</H3> | |
<PRE> | |
public <A HREF="../../../../src-html/org/apache/xml/utils/ObjectStack.html#line.61"><B>ObjectStack</B></A>(<A HREF="../../../../org/apache/xml/utils/ObjectStack.html" title="class in org.apache.xml.utils">ObjectStack</A> v)</PRE> | |
<DL> | |
<DD>Copy constructor for ObjectStack | |
<P> | |
<DL> | |
<DT><B>Parameters:</B><DD><CODE>v</CODE> - ObjectStack to copy</DL> | |
</DL> | |
<!-- ============ METHOD DETAIL ========== --> | |
<A NAME="method_detail"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> | |
<B>Method Detail</B></FONT></TH> | |
</TR> | |
</TABLE> | |
<A NAME="push(java.lang.Object)"><!-- --></A><H3> | |
push</H3> | |
<PRE> | |
public java.lang.Object <A HREF="../../../../src-html/org/apache/xml/utils/ObjectStack.html#line.72"><B>push</B></A>(java.lang.Object i)</PRE> | |
<DL> | |
<DD>Pushes an item onto the top of this stack. | |
<P> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>i</CODE> - the int to be pushed onto this stack. | |
<DT><B>Returns:</B><DD>the <code>item</code> argument.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="pop()"><!-- --></A><H3> | |
pop</H3> | |
<PRE> | |
public java.lang.Object <A HREF="../../../../src-html/org/apache/xml/utils/ObjectStack.html#line.99"><B>pop</B></A>()</PRE> | |
<DL> | |
<DD>Removes the object at the top of this stack and returns that | |
object as the value of this function. | |
<P> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>The object at the top of this stack.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="quickPop(int)"><!-- --></A><H3> | |
quickPop</H3> | |
<PRE> | |
public void <A HREF="../../../../src-html/org/apache/xml/utils/ObjectStack.html#line.111"><B>quickPop</B></A>(int n)</PRE> | |
<DL> | |
<DD>Quickly pops a number of items from the stack. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="peek()"><!-- --></A><H3> | |
peek</H3> | |
<PRE> | |
public java.lang.Object <A HREF="../../../../src-html/org/apache/xml/utils/ObjectStack.html#line.123"><B>peek</B></A>()</PRE> | |
<DL> | |
<DD>Looks at the object at the top of this stack without removing it | |
from the stack. | |
<P> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>the object at the top of this stack. | |
<DT><B>Throws:</B> | |
<DD><CODE>java.util.EmptyStackException</CODE> - if this stack is empty.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="peek(int)"><!-- --></A><H3> | |
peek</H3> | |
<PRE> | |
public java.lang.Object <A HREF="../../../../src-html/org/apache/xml/utils/ObjectStack.html#line.141"><B>peek</B></A>(int n)</PRE> | |
<DL> | |
<DD>Looks at the object at the position the stack counting down n items. | |
<P> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>n</CODE> - The number of items down, indexed from zero. | |
<DT><B>Returns:</B><DD>the object at n items down. | |
<DT><B>Throws:</B> | |
<DD><CODE>java.util.EmptyStackException</CODE> - if this stack is empty.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="setTop(java.lang.Object)"><!-- --></A><H3> | |
setTop</H3> | |
<PRE> | |
public void <A HREF="../../../../src-html/org/apache/xml/utils/ObjectStack.html#line.159"><B>setTop</B></A>(java.lang.Object val)</PRE> | |
<DL> | |
<DD>Sets an object at a the top of the statck | |
<P> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>val</CODE> - object to set at the top | |
<DT><B>Throws:</B> | |
<DD><CODE>java.util.EmptyStackException</CODE> - if this stack is empty.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="empty()"><!-- --></A><H3> | |
empty</H3> | |
<PRE> | |
public boolean <A HREF="../../../../src-html/org/apache/xml/utils/ObjectStack.html#line.177"><B>empty</B></A>()</PRE> | |
<DL> | |
<DD>Tests if this stack is empty. | |
<P> | |
<DD><DL> | |
<DT><B>Returns:</B><DD><code>true</code> if this stack is empty; | |
<code>false</code> otherwise.<DT><B>Since:</B></DT> | |
<DD>JDK1.0</DD> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="search(java.lang.Object)"><!-- --></A><H3> | |
search</H3> | |
<PRE> | |
public int <A HREF="../../../../src-html/org/apache/xml/utils/ObjectStack.html#line.191"><B>search</B></A>(java.lang.Object o)</PRE> | |
<DL> | |
<DD>Returns where an object is on this stack. | |
<P> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>o</CODE> - the desired object. | |
<DT><B>Returns:</B><DD>the distance from the top of the stack where the object is] | |
located; the return value <code>-1</code> indicates that the | |
object is not on the stack.<DT><B>Since:</B></DT> | |
<DD>JDK1.0</DD> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="clone()"><!-- --></A><H3> | |
clone</H3> | |
<PRE> | |
public java.lang.Object <A HREF="../../../../src-html/org/apache/xml/utils/ObjectStack.html#line.209"><B>clone</B></A>() | |
throws java.lang.CloneNotSupportedException</PRE> | |
<DL> | |
<DD>Returns clone of current ObjectStack | |
<P> | |
<DD><DL> | |
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/xml/utils/ObjectVector.html#clone()">clone</A></CODE> in class <CODE><A HREF="../../../../org/apache/xml/utils/ObjectVector.html" title="class in org.apache.xml.utils">ObjectVector</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>clone of current ObjectStack | |
<DT><B>Throws:</B> | |
<DD><CODE>java.lang.CloneNotSupportedException</CODE></DL> | |
</DD> | |
</DL> | |
<!-- ========= END OF CLASS DATA ========= --> | |
<HR> | |
<!-- ======= START OF BOTTOM NAVBAR ====== --> | |
<A NAME="navbar_bottom"><!-- --></A> | |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> | |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> | |
<TR> | |
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> | |
<A NAME="navbar_bottom_firstrow"><!-- --></A> | |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> | |
<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/ObjectStack.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/ObjectPool.html" title="class in org.apache.xml.utils"><B>PREV CLASS</B></A> | |
<A HREF="../../../../org/apache/xml/utils/ObjectVector.html" title="class in org.apache.xml.utils"><B>NEXT CLASS</B></A></FONT></TD> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../index.html?org/apache/xml/utils/ObjectStack.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="ObjectStack.html" target="_top"><B>NO FRAMES</B></A> | |
<SCRIPT type="text/javascript"> | |
<!-- | |
if(window==top) { | |
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); | |
} | |
//--> | |
</SCRIPT> | |
<NOSCRIPT> | |
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> | |
</NOSCRIPT> | |
</FONT></TD> | |
</TR> | |
<TR> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_org.apache.xml.utils.ObjectVector">FIELD</A> | <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> | |
<A NAME="skip-navbar_bottom"></A> | |
<!-- ======== END OF BOTTOM NAVBAR ======= --> | |
<HR> | |
</BODY> | |
</HTML> |