org.gjt.universe
Class NonsyncList

java.lang.Object
  |
  +--org.gjt.universe.NonsyncList

public class NonsyncList
extends java.lang.Object

A non synchronized Linked List.

Author:
Sean Starkey

Nested Class Summary
 class NonsyncList.Access
          The Enumeration to access the data for the Linked List.
private  class NonsyncList.Node
          The nodes that hold the data in the linked list.
 
Field Summary
(package private)  NonsyncList.Node head
          The head of the linked list.
(package private)  NonsyncList.Node tail
          The tail of the linked list.
 
Constructor Summary
NonsyncList()
           
 
Method Summary
 void add(java.lang.Object newdata)
          Adds a new node into the linked list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

head

NonsyncList.Node head
The head of the linked list.


tail

NonsyncList.Node tail
The tail of the linked list.

Constructor Detail

NonsyncList

public NonsyncList()
Method Detail

add

public void add(java.lang.Object newdata)
Adds a new node into the linked list.

Parameters:
newdata - The data for the new node.


Copyright © 2001 Universe Dev Team All Rights Reserved.