⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 datastructures.linkedlistitr.html

📁 Data StructuresAnd Algorithm Analysis In Java Source Code
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Sun Sep 27 09:53:39 EDT 1998
-->
<title>
Class DataStructures.LinkedListItr
</title>
</head>
<body>
<a name="_top_"></a>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-DataStructures.html">This Package</a>  <a href="DataStructures.LinkedList.html">Previous</a>  <a href="DataStructures.MyInteger.html">Next</a>  <a href="Index.html">Index</a>  </pre>
<hr>
<h1>
Class DataStructures.LinkedListItr
</h1>
<pre>
java.lang.Object
    |
    +----DataStructures.LinkedListItr
</pre>
<hr>
<dl>
<dt>public class <b>LinkedListItr</b>
<dt>extends Object</dl>
Linked list implementation of the list iteratorusing a header node.
<p>
<dl>
<dt><b>See Also:</b>
<dd><a href="DataStructures.LinkedList.html">LinkedList</a></dl>
<hr>
<a name="index"></a><h2>
<img src="images/method-index.gif" width=207 height=38 alt="Method Index">
</h2>
<dl>
<dt><img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#advance()"><b>advance</b></a>()
<dd>Advance the current position to the next node in the list.
<dt><img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#isPastEnd()"><b>isPastEnd</b></a>()
<dd>Test if the current position is past the end of the list.
<dt><img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#retrieve()"><b>retrieve</b></a>()
<dd>Return the item stored in the current position.
</dl>
<a name="methods"></a><h2>
<img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="isPastEnd"></a><a name="isPastEnd()"><img src="images/red-ball.gif" width=12 height=12 alt=" o ">
</a><b>isPastEnd</b>
<pre>
public boolean isPastEnd()</pre>
<dl>
<dd>Test if the current position is past the end of the list.
<p>
<dd><dl>
<dt><b>Returns:</b>
<dd>true if the current position is null.</dl>
</dd>
</dl>
<a name="retrieve"></a><a name="retrieve()"><img src="images/red-ball.gif" width=12 height=12 alt=" o ">
</a><b>retrieve</b>
<pre>
public Object retrieve()</pre>
<dl>
<dd>Return the item stored in the current position.
<p>
<dd><dl>
<dt><b>Returns:</b>
<dd>the stored item or null if the current positionis not in the list.</dl>
</dd>
</dl>
<a name="advance"></a><a name="advance()"><img src="images/red-ball.gif" width=12 height=12 alt=" o ">
</a><b>advance</b>
<pre>
public void advance()</pre>
<dl>
<dd>Advance the current position to the next node in the list.If the current position is null, then do nothing.
<p>
</dl>
<hr>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-DataStructures.html">This Package</a>  <a href="DataStructures.LinkedList.html">Previous</a>  <a href="DataStructures.MyInteger.html">Next</a>  <a href="Index.html">Index</a>  </pre>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -