All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class interestRate.LinkList

java.lang.Object
   |
   +----interestRate.LinkList

public class LinkList
extends Object
Implements a doubly linked list.


Constructor Index

 o LinkList()

Method Index

 o Delete(KeyInterface)
Delete a node with a certain key if it exist.
 o Insert(KeyInterface)
Insert a new node if doesn't exist with key k
 o print()
print the LinkList

Constructors

 o LinkList
 public LinkList()

Methods

 o Insert
 public Node Insert(KeyInterface k)
Insert a new node if doesn't exist with key k

 o Delete
 public void Delete(KeyInterface k) throws LinkListException
Delete a node with a certain key if it exist.

Throws: LinkListException
Thrown when the linked-list is empty.
 o print
 public void print() throws LinkListException
print the LinkList

Throws: LinkListException
Thrown when the linked-list is empty.

All Packages  Class Hierarchy  This Package  Previous  Next  Index