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.
-
LinkList()
-
-
Delete(KeyInterface)
-
Delete a node with a certain key if it exist.
-
Insert(KeyInterface)
- Insert a new node if doesn't
exist with key k
-
print()
- print the LinkList
LinkList
public LinkList()
Insert
public Node Insert(KeyInterface k)
- Insert a new node if doesn't
exist with key k
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.
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