m865.datastructures
Class QueueLL.Link<T>

java.lang.Object
  extended by m865.datastructures.QueueLL.Link<T>
Enclosing class:
QueueLL<T>

public class QueueLL.Link<T>
extends java.lang.Object

The Linked List is built from a simple forward link.


Field Summary
 T data
           
 QueueLL.Link<T> next
          Each link contains a reference to the next link and a reference to the value stored in the link.
 
Constructor Summary
QueueLL.Link()
           
QueueLL.Link(QueueLL.Link<T> lnk, T v)
           
QueueLL.Link(T v)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

next

public QueueLL.Link<T> next
Each link contains a reference to the next link and a reference to the value stored in the link.


data

public T data
Constructor Detail

QueueLL.Link

public QueueLL.Link(QueueLL.Link<T> lnk,
                    T v)

QueueLL.Link

public QueueLL.Link(T v)

QueueLL.Link

public QueueLL.Link()