stack.html
来自「数据挖掘的最常用工具。由于开源」· HTML 代码 · 共 616 行 · 第 1/2 页
HTML
616 行
<DL><DD>The elements inside the stack.<P><DL></DL></DL><!-- ========= 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="Stack()"><!-- --></A><H3>Stack</H3><PRE>public <B>Stack</B>()</PRE><DL><DD>Constructor.<P></DL><HR><A NAME="Stack(int)"><!-- --></A><H3>Stack</H3><PRE>public <B>Stack</B>(int capacity)</PRE><DL><DD>Constructor.<P><DL><DT><B>Parameters:</B><DD><CODE>capacity</CODE> - The initial capacity of the stack.</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="last()"><!-- --></A><H3>last</H3><PRE>public <A HREF="../../../../weka/core/neighboursearch/covertrees/Stack.html" title="type parameter in Stack">T</A> <B>last</B>()</PRE><DL><DD>Returns the last element in the stack.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The last element.</DL></DD></DL><HR><A NAME="element(int)"><!-- --></A><H3>element</H3><PRE>public <A HREF="../../../../weka/core/neighboursearch/covertrees/Stack.html" title="type parameter in Stack">T</A> <B>element</B>(int i)</PRE><DL><DD>Returns the ith element in the stack.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>i</CODE> - The index of the element to return.<DT><B>Returns:</B><DD>The ith element.</DL></DD></DL><HR><A NAME="set(int,java.lang.Object)"><!-- --></A><A NAME="set(int, T)"><!-- --></A><H3>set</H3><PRE>public void <B>set</B>(int i, <A HREF="../../../../weka/core/neighboursearch/covertrees/Stack.html" title="type parameter in Stack">T</A> e)</PRE><DL><DD>Sets the ith element in the stack.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>i</CODE> - The index at which the element is to be inserted.<DD><CODE>e</CODE> - The element to insert.</DL></DD></DL><HR><A NAME="subList(int, int)"><!-- --></A><H3>subList</H3><PRE>public java.util.List <B>subList</B>(int beginIdx, int uptoLength)</PRE><DL><DD>Returns a sublist of the elements in the stack.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>beginIdx</CODE> - The start index of the sublist.<DD><CODE>uptoLength</CODE> - The length of the sublist.<DT><B>Returns:</B><DD>The sublist starting from beginIdx and of length uptoLength.</DL></DD></DL><HR><A NAME="clear()"><!-- --></A><H3>clear</H3><PRE>public void <B>clear</B>()</PRE><DL><DD>Removes all the elements from the stack.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="addAll(java.util.Collection)"><!-- --></A><H3>addAll</H3><PRE>public void <B>addAll</B>(java.util.Collection c)</PRE><DL><DD>Adds all the given elements in the stack.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>c</CODE> - The collection of elements to add in the stack.</DL></DD></DL><HR><A NAME="replaceAllBy(weka.core.neighboursearch.covertrees.Stack)"><!-- --></A><H3>replaceAllBy</H3><PRE>public void <B>replaceAllBy</B>(<A HREF="../../../../weka/core/neighboursearch/covertrees/Stack.html" title="class in weka.core.neighboursearch.covertrees">Stack</A><<A HREF="../../../../weka/core/neighboursearch/covertrees/Stack.html" title="type parameter in Stack">T</A>> s)</PRE><DL><DD>Replace all elements in the stack with the elements of another given stack. It first removes all the elements currently in the stack, and then adds all the elements of the provided stack.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>s</CODE> - The stack whose elements should be put in this stack.</DL></DD></DL><HR><A NAME="pop()"><!-- --></A><H3>pop</H3><PRE>public <A HREF="../../../../weka/core/neighboursearch/covertrees/Stack.html" title="type parameter in Stack">T</A> <B>pop</B>()</PRE><DL><DD>Pops (removes) the first (last added) element in the stack.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The poped element.</DL></DD></DL><HR><A NAME="push(java.lang.Object)"><!-- --></A><A NAME="push(T)"><!-- --></A><H3>push</H3><PRE>public void <B>push</B>(<A HREF="../../../../weka/core/neighboursearch/covertrees/Stack.html" title="type parameter in Stack">T</A> new_ele)</PRE><DL><DD>Pushes the given element to the stack.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>new_ele</CODE> - The element to be pushed to the stack.</DL></DD></DL><HR><A NAME="push(weka.core.neighboursearch.covertrees.Stack,java.lang.Object)"><!-- --></A><A NAME="push(weka.core.neighboursearch.covertrees.Stack, T)"><!-- --></A><H3>push</H3><PRE>public void <B>push</B>(<A HREF="../../../../weka/core/neighboursearch/covertrees/Stack.html" title="class in weka.core.neighboursearch.covertrees">Stack</A><<A HREF="../../../../weka/core/neighboursearch/covertrees/Stack.html" title="type parameter in Stack">T</A>> v, <A HREF="../../../../weka/core/neighboursearch/covertrees/Stack.html" title="type parameter in Stack">T</A> new_ele)</PRE><DL><DD>Pushes the given element onto the given stack.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - The stack onto push the element.<DD><CODE>new_ele</CODE> - The element to push.</DL></DD></DL><HR><A NAME="getRevision()"><!-- --></A><H3>getRevision</H3><PRE>public java.lang.String <B>getRevision</B>()</PRE><DL><DD>Returns the revision string.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../weka/core/RevisionHandler.html#getRevision()">getRevision</A></CODE> in interface <CODE><A HREF="../../../../weka/core/RevisionHandler.html" title="interface in weka.core">RevisionHandler</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the revision</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="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> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="http://www.cs.waikato.ac.nz/ml/weka/" target="_blank"><FONT CLASS="NavBarFont1"><B>Weka's home</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"> PREV CLASS NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?weka/core/neighboursearch/covertrees/Stack.html" target="_top"><B>FRAMES</B></A> <A HREF="Stack.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="#field_summary">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: <A HREF="#field_detail">FIELD</A> | <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>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?