<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.lensovet.net/~sysadmin/w/index.php?action=history&amp;feed=atom&amp;title=Computer_Science%2F61b%2FProjects%2FOcean%2FDListNode.java</id>
	<title>Computer Science/61b/Projects/Ocean/DListNode.java - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://www.lensovet.net/~sysadmin/w/index.php?action=history&amp;feed=atom&amp;title=Computer_Science%2F61b%2FProjects%2FOcean%2FDListNode.java"/>
	<link rel="alternate" type="text/html" href="http://www.lensovet.net/~sysadmin/w/index.php?title=Computer_Science/61b/Projects/Ocean/DListNode.java&amp;action=history"/>
	<updated>2026-05-03T18:31:49Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.16</generator>
	<entry>
		<id>http://www.lensovet.net/~sysadmin/w/index.php?title=Computer_Science/61b/Projects/Ocean/DListNode.java&amp;diff=24421&amp;oldid=prev</id>
		<title>Lensovet: Lensovet moved page CS/61b/Projects/Ocean/DListNode.java to Computer Science/61b/Projects/Ocean/DListNode.java</title>
		<link rel="alternate" type="text/html" href="http://www.lensovet.net/~sysadmin/w/index.php?title=Computer_Science/61b/Projects/Ocean/DListNode.java&amp;diff=24421&amp;oldid=prev"/>
		<updated>2023-02-20T03:51:36Z</updated>

		<summary type="html">&lt;p&gt;Lensovet moved page &lt;a href=&quot;/~sysadmin/w/CS/61b/Projects/Ocean/DListNode.java&quot; class=&quot;mw-redirect&quot; title=&quot;CS/61b/Projects/Ocean/DListNode.java&quot;&gt;CS/61b/Projects/Ocean/DListNode.java&lt;/a&gt; to &lt;a href=&quot;/~sysadmin/w/Computer_Science/61b/Projects/Ocean/DListNode.java&quot; title=&quot;Computer Science/61b/Projects/Ocean/DListNode.java&quot;&gt;Computer Science/61b/Projects/Ocean/DListNode.java&lt;/a&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 03:51, 20 February 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Lensovet</name></author>
		
	</entry>
	<entry>
		<id>http://www.lensovet.net/~sysadmin/w/index.php?title=Computer_Science/61b/Projects/Ocean/DListNode.java&amp;diff=3959&amp;oldid=prev</id>
		<title>Lensovet: moved CS 61b/Projects/Ocean/DListNode.java to CS/61b/Projects/Ocean/DListNode.java:&amp;#32;fix CS 61b hierarchy</title>
		<link rel="alternate" type="text/html" href="http://www.lensovet.net/~sysadmin/w/index.php?title=Computer_Science/61b/Projects/Ocean/DListNode.java&amp;diff=3959&amp;oldid=prev"/>
		<updated>2010-11-14T05:59:46Z</updated>

		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/~sysadmin/w/CS_61b/Projects/Ocean/DListNode.java&quot; class=&quot;mw-redirect&quot; title=&quot;CS 61b/Projects/Ocean/DListNode.java&quot;&gt;CS 61b/Projects/Ocean/DListNode.java&lt;/a&gt; to &lt;a href=&quot;/~sysadmin/w/CS/61b/Projects/Ocean/DListNode.java&quot; class=&quot;mw-redirect&quot; title=&quot;CS/61b/Projects/Ocean/DListNode.java&quot;&gt;CS/61b/Projects/Ocean/DListNode.java&lt;/a&gt;: fix CS 61b hierarchy&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 05:59, 14 November 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Lensovet</name></author>
		
	</entry>
	<entry>
		<id>http://www.lensovet.net/~sysadmin/w/index.php?title=Computer_Science/61b/Projects/Ocean/DListNode.java&amp;diff=2238&amp;oldid=prev</id>
		<title>Lensovet at 03:13, 14 November 2006</title>
		<link rel="alternate" type="text/html" href="http://www.lensovet.net/~sysadmin/w/index.php?title=Computer_Science/61b/Projects/Ocean/DListNode.java&amp;diff=2238&amp;oldid=prev"/>
		<updated>2006-11-14T03:13:45Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{code}}&lt;br /&gt;
 /* DListNode.java */&lt;br /&gt;
 &lt;br /&gt;
 /**&lt;br /&gt;
  *  DListNode is a class used internally by the DList class.  A DList object&lt;br /&gt;
  *  is a doubly-linked list, and a DListNode is a node of a doubly-linked&lt;br /&gt;
  *  list.  Each DListNode normally has three references:  one to an object, one to&lt;br /&gt;
  *  the next node in the list, and another to the previous node in the list.&lt;br /&gt;
  *&lt;br /&gt;
  * However, for purposes of the Ocean project this is changed as follows:&lt;br /&gt;
  *   The item field is actually named type to better reflect the data that it holds&lt;br /&gt;
  *   Consequently, the types are all ints and not objects&lt;br /&gt;
  *   The number of fields is FIVE and not three - an additional field is added for the number of consecutive&lt;br /&gt;
  *   cells of the given type and another for the shark's current hunger&lt;br /&gt;
  *&lt;br /&gt;
  */&lt;br /&gt;
 &lt;br /&gt;
 class DListNode {&lt;br /&gt;
 	int type;&lt;br /&gt;
 	int hunger;&lt;br /&gt;
 	int consecs;&lt;br /&gt;
 	DListNode next;&lt;br /&gt;
 	DListNode prev;&lt;br /&gt;
 	&lt;br /&gt;
 	/**&lt;br /&gt;
 	 *  DListNode() (with two parameters) constructs a list node referencing the&lt;br /&gt;
 	 *  item &amp;quot;obj&amp;quot;, whose next list node is to be &amp;quot;next&amp;quot;.&lt;br /&gt;
 	 */&lt;br /&gt;
 	&lt;br /&gt;
 	DListNode(int type, int hunger, DListNode next) {&lt;br /&gt;
 		this.type = type;&lt;br /&gt;
 		this.hunger = hunger;&lt;br /&gt;
 		this.next = next;&lt;br /&gt;
 	}&lt;br /&gt;
 	&lt;br /&gt;
 	DListNode(int type, DListNode next) {&lt;br /&gt;
 		this(type, 0, next);&lt;br /&gt;
 	}&lt;br /&gt;
 	&lt;br /&gt;
 	DListNode(int type, int hunger) {&lt;br /&gt;
 		this(type, hunger, null);&lt;br /&gt;
 	}&lt;br /&gt;
 	&lt;br /&gt;
 	/**&lt;br /&gt;
 	 *  DListNode() (with one parameter) constructs a list node referencing the&lt;br /&gt;
 	 *  item &amp;quot;obj&amp;quot;.&lt;br /&gt;
 	 **/&lt;br /&gt;
 	&lt;br /&gt;
 	DListNode(int type) {&lt;br /&gt;
 		this(type, null);&lt;br /&gt;
 	}&lt;br /&gt;
 &lt;br /&gt;
 	DListNode() {&lt;br /&gt;
 		this(Ocean.EMPTY, null);&lt;br /&gt;
 	}&lt;br /&gt;
 }&lt;/div&gt;</summary>
		<author><name>Lensovet</name></author>
		
	</entry>
</feed>