All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class interestRate.Node

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

public class Node
extends Object
A node of a linked list.


Variable Index

 o key
 o next
 o prev

Constructor Index

 o Node(KeyInterface)

Method Index

 o Delete()
Delete this node
 o InsertAfter(Node)
Insert a node after a specified node
 o InsertBefore(Node)
Insert a node before a specified node.
 o InsertElement(KeyInterface)
Insert element in the link list starting from the node if not already there
 o print()
print the linklist starting at the node
 o Search(KeyInterface)
Search a node that is a successor of this node and has a specified key.

Variables

 o prev
 public Node prev
 o next
 public Node next
 o key
 public KeyInterface key

Constructors

 o Node
 public Node(KeyInterface k)
Parameters:
k - Key of that node.

Methods

 o Search
 public Node Search(KeyInterface k)
Search a node that is a successor of this node and has a specified key.

Parameters:
k - Specifed Key
 o Delete
 public void Delete()
Delete this node

 o InsertAfter
 public void InsertAfter(Node x)
Insert a node after a specified node

 o InsertBefore
 public void InsertBefore(Node x)
Insert a node before a specified node.

 o InsertElement
 public Node InsertElement(KeyInterface k)
Insert element in the link list starting from the node if not already there

 o print
 public void print()
print the linklist starting at the node


All Packages  Class Hierarchy  This Package  Previous  Next  Index