mootcan.HistoryList.html

mootcan-0.1.17/docs/mootcan.HistoryList.html · 6.4 KB

From the archive mootcan-0.1.17.tar.gz

Download the archive   « Back to the archive contents

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Thu Dec 02 07:37:32 GMT+03:30 1999 -->
<title>
  Class mootcan.HistoryList
</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-mootcan.html">This Package</a>  <a href="Package-mootcan.html">Previous</a>  <a href="Package-mootcan.html">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Class mootcan.HistoryList
</h1>
<pre>
java.lang.Object
   |
   +----mootcan.HistoryList
</pre>
<hr>
<dl>
  <dt> public class <b>HistoryList</b>
  <dt> extends Object
</dl>
a doubly linked list containing history elements.
 any object type can be inserted into the history list
<p>
<dl>
  <dt> <b>Author:</b>
  <dd> Sindre Sørensen
</dl>
<hr>
<a name="index"></a>
<h2>
  <img src="images/variable-index.gif" width=207 height=38 alt="Variable Index">
</h2>
<dl>
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#current"><b>current</b></a>
  <dd> 
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#defaultElement"><b>defaultElement</b></a>
  <dd> 
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#earliest"><b>earliest</b></a>
  <dd> 
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#latest"><b>latest</b></a>
  <dd> 
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#maxSize"><b>maxSize</b></a>
  <dd> 
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#size"><b>size</b></a>
  <dd> 
</dl>
<h2>
  <img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index">
</h2>
<dl>
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#HistoryList(java.lang.Object, int)"><b>HistoryList</b></a>(Object, int)
  <dd>  
</dl>
<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="#appendEmptyItem()"><b>appendEmptyItem</b></a>()
  <dd> 
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getCurrentItem()"><b>getCurrentItem</b></a>()
  <dd> 
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getNextItem()"><b>getNextItem</b></a>()
  <dd> 
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getPreviousItem()"><b>getPreviousItem</b></a>()
  <dd> 
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#insertItem(java.lang.Object)"><b>insertItem</b></a>(Object)
  <dd> 
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#removeEarliestItem()"><b>removeEarliestItem</b></a>()
  <dd> 
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#replaceCurrentItem(java.lang.Object)"><b>replaceCurrentItem</b></a>(Object)
  <dd> 
</dl>
<a name="variables"></a>
<h2>
  <img src="images/variables.gif" width=153 height=38 alt="Variables">
</h2>
<a name="size"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>size</b>
<pre>
 int size
</pre>
<a name="maxSize"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>maxSize</b>
<pre>
 int maxSize
</pre>
<a name="latest"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>latest</b>
<pre>
 <a href="mootcan.HistoryNode.html#_top_">HistoryNode</a> latest
</pre>
<a name="earliest"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>earliest</b>
<pre>
 <a href="mootcan.HistoryNode.html#_top_">HistoryNode</a> earliest
</pre>
<a name="current"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>current</b>
<pre>
 <a href="mootcan.HistoryNode.html#_top_">HistoryNode</a> current
</pre>
<a name="defaultElement"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>defaultElement</b>
<pre>
 Object defaultElement
</pre>
<a name="constructors"></a>
<h2>
  <img src="images/constructors.gif" width=231 height=38 alt="Constructors">
</h2>
<a name="HistoryList"></a>
<a name="HistoryList(java.lang.Object, int)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>HistoryList</b>
<pre>
 HistoryList(Object defaultItem,
             int maximumSize)
</pre>
<dl>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> defaultItem - the (empty, if one wishes) object that will be returned when you have travelled beyond the latest point in history
    <dd> maximumSize - the maximum size the history list will become before removing the earliest items
  </dl></dd>
</dl>
<a name="methods"></a>
<h2>
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="getCurrentItem()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getCurrentItem"><b>getCurrentItem</b></a>
<pre>
 public Object getCurrentItem()
</pre>
<a name="getNextItem()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getNextItem"><b>getNextItem</b></a>
<pre>
 public Object getNextItem()
</pre>
<a name="replaceCurrentItem(java.lang.Object)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="replaceCurrentItem"><b>replaceCurrentItem</b></a>
<pre>
 public void replaceCurrentItem(Object o)
</pre>
<a name="getPreviousItem()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getPreviousItem"><b>getPreviousItem</b></a>
<pre>
 public Object getPreviousItem()
</pre>
<a name="insertItem(java.lang.Object)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="insertItem"><b>insertItem</b></a>
<pre>
 public void insertItem(Object o)
</pre>
<a name="appendEmptyItem()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="appendEmptyItem"><b>appendEmptyItem</b></a>
<pre>
 public <a href="mootcan.HistoryNode.html#_top_">HistoryNode</a> appendEmptyItem()
</pre>
<a name="removeEarliestItem()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="removeEarliestItem"><b>removeEarliestItem</b></a>
<pre>
 void removeEarliestItem()
</pre>
<hr>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-mootcan.html">This Package</a>  <a href="Package-mootcan.html">Previous</a>  <a href="Package-mootcan.html">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>

Site Stats

Snippets: 1791
Codebases: 571