giden.GRDS
Class DoubleLinkList

java.lang.Object
  |
  +--giden.GRDS.LinkList
        |
        +--giden.GRDS.SingleLinkList
              |
              +--giden.GRDS.DoubleLinkList
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class DoubleLinkList
extends SingleLinkList
implements java.io.Serializable

Copyright (c) 1993-2004 C. R. Coullard, D. S. Dilworth, J. H. Owen, All Rights Reserved.
We make no representations or warranties about the suitability of the software, either express or implied, including but not limited to the implied warranties of merchantability, fitness for a particular purpose, or non-infringement. We shall not be liable for any damages suffered by user as a result of using, modifying or distributing this software or its derivatives.

DoubleLinkList is a link list class that inherits the SingleLinkList and the LinkList classes. DoubleLinkList implements a link list with links in the forward and backward direction. Users can create DoubleLinkList objects and then manipulate them as LinkList objects.

A LinkList is comprised of ListEntry objects. Each ListEntry object contains link information for the list and the list-item of interest to the application. The LinkList class only provides methods for iterating with ListEntry objects; the user can access the underlying list-items by manipulating the ListEntry objects. The ListIter class is an easier and recommended way of iterating and accessing the list-items. Any method returning a ListEntry will return null if accesses are attempted on an empty list or beyond the boundaries of the list.

Copyright (c) 1993-2003 C. R. Coullard, D. S. Dilworth, J. H. Owen, All Rights Reserved.

Version:
4.0a 2004 08 27
Author:
D. S. Dilworth
See Also:
LinkList, ListIter, Network, SingleLinkList, Serialized Form

Constructor Summary
DoubleLinkList()
          Creates an empty double link list
 
Methods inherited from class giden.GRDS.LinkList
AddItem, clone, DeleteContents, DeleteEntry, GetFirstEntry, GetHead, GetLastEntry, GetNextEntry, GetPrevEntry, GetSize, GetTail, InsertBefore, JoinList
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleLinkList

public DoubleLinkList()
Creates an empty double link list