DAT
Class Link

java.lang.Object
  extended by DAT.Link

public class Link
extends java.lang.Object

A link used to (recursively) construct a linked list.


Field Summary
 java.lang.Object item
          Item stored in this link.
 Link successor
          Reference to the rest of the list.
 
Constructor Summary
Link(java.lang.Object x, Link s)
          Create a new link.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

item

public java.lang.Object item
Item stored in this link.


successor

public Link successor
Reference to the rest of the list.

Constructor Detail

Link

public Link(java.lang.Object x,
            Link s)
Create a new link.