CITS2200
Class Link

java.lang.Object
  extended by CITS2200.Link

public class Link
extends Object

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


Field Summary
 Object item
          Item stored in this link.
 Link successor
          Reference to the rest of the list.
 
Constructor Summary
Link(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 Object item
Item stored in this link.


successor

public Link successor
Reference to the rest of the list.

Constructor Detail

Link

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